Payment methods
Query parameters
AmountnumberRequired
Amount
CountrystringRequired
2 letters country code
CurrencystringRequired
3 letters currency code
FiscalCodestringOptional
Fiscal code. Required for Brasil or if CardBin or EesToken is not provided
CardBinstringOptional
Card number. Required if Fiscal code or EesToken is not provided
EesTokenstringOptional
Ees token. Required if Fiscal code or CardBin is not provided
Header parameters
Acceptstring · enumRequiredDefault:
application/jsonExample: application/jsonPossible values: X-Avangate-AuthenticationstringRequiredExample:
Authentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"Responses
200
OK
application/json
500
ERROR
application/json
get
/orders/0/installmentsHeader parameters
X-Avangate-AuthenticationstringRequiredExample:
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"AcceptstringRequiredExample:
application/jsonBody
NamestringOptionalExample:
Name of the cardholder
John DoeCreditCardstringRequiredExample:
Credit card number
4111111111111111CvvstringRequiredExample:
123ExpirationDatestringRequiredExample:
12/28Scopestring · enumOptionalDefault:
Represents the scope of the created token. It is the client's responsability to manage this
orderingExample: subscriptionPossible values: Responses
200
Create token response
application/json
post
/tokens200
Create token response
Header parameters
X-Avangate-AuthenticationstringRequiredExample:
Authentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"Acceptstring · enumRequiredExample:
application/jsonPossible values: Body
validationURLstringOptional
Responses
200
OK
application/json
400
Invalid data
application/json
post
/payments/startapplepaysessionHeader parameters
X-Avangate-AuthenticationstringRequiredExample:
Authentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"Acceptstring · enumRequiredExample:
application/jsonPossible values: Body
ApplePayDatastringOptional
Responses
200
OK
application/json
ApplePayDataTokenstringOptional
BillingDetailsobjectOptional
DeliveryDetailsobjectOptional
StatusbooleanOptional
400
Invalid data
application/json
post
/payments/decryptApplePayDataHeader parameters
Acceptstring · enumRequiredDefault:
application/jsonExample: application/jsonPossible values: X-Avangate-AuthenticationstringRequiredExample:
Authentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"Responses
200
OK
application/json
get
/paymentmethods/IDEAL/issuerbanks200
OK
Header parameters
X-Avangate-AuthenticationstringRequiredExample:
Authentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"Acceptstring · enumRequiredExample:
application/jsonPossible values: Body
CountrystringOptional
CurrencystringOptional
CustomerIPstringOptional
LanguagestringOptional
Responses
200
OK
application/json
put
/paymentmethods/PAYPAL_EXPRESS/redirecturl200
OK
Path parameters
OrderReferencestringRequiredExample:
Reference number for approved/paid orders.
1234567Header parameters
Acceptstring · enumRequiredDefault:
application/jsonExample: application/jsonPossible values: X-Avangate-AuthenticationstringRequiredExample:
Authentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"Responses
200
OK
application/json
get
/paymentmethods/PREVIOUS_ORDER/refno/{OrderReference}200
OK
Last updated
Was this helpful?