- Documentation
- Sandbox
Documentation
This allow do transaction with a token or creditcard parameters
Response
Parameters
Parameter | Type | Required? | Format | Description |
---|---|---|---|---|
type | false | Type of transaction (token, storage, plan, subscription or bin) | ||
commerce | false | The secret hash for the commerce | ||
bin_number | false | The bin (creditcard) - Applies only if type=bin | ||
bin_bank | false | The bank id -bg (Banco General) - Applies only if type=bin | ||
plan | false | The id of plan in recurrents plataform - Applies only if type=plan | ||
subscription | false | The id of suscription in recurrents plataform, this working with action- Applies only if type=subscription | ||
period | false | The period to change of suscription in recurrents plataform, Values=Nro. de dias de frecuencia de cobro, this working with action=change- Applies only if type=subscription | ||
action | false | The action of suscription in recurrents plataform - Values ('annul','pause','activate', 'change') - Applies only if type=subscription | ||
date_end | false | The end date of plan ej. Y-m-d - Applies only if type=plan | ||
date_start | false | The end start of plan ej. Y-m-d - Applies only if type=plan | ||
token | false | The token of creditcard (token) | ||
cc_number | false | The creditcard number (creditcard) | ||
cc_expiration | false | The creditcard's expiration date (YYYY-MM) - (creditcard) | ||
amount | false | The amount to process in the transaction | ||
firstname | false | The creditcard holder's name (creditcard) | ||
lastname | false | The creditcard holder's lastname (creditcard) | ||
phone | false | The phone for holder's card | ||
address | false | The address for holder's card | ||
ccv2 | false | The creditcard secret code (creditcard) | ||
false | An unique email for the customer | |||
var_text | false | Custom data that you return in the response | ||
description | false | Custom description for the creditcard |
Status Codes
Status Code | Description |
---|---|
200 |
|
400 |
|