Skip to main content

API Objects

Customer Object

Field NameTypeRequiredDescription
customer_tokenstringYesToken that uniquely identifies the customer
countrystringNoCustomer's country code https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
first_namestringNoCustomer’s first name
last_namestringNoCustomer’s last name
billing_addressObjectNoObject containing the customer's billing address, please refer to Billing address object
avs_alertintNoAddress verification status. Can be:
  • 0 for Address Verification System pass.
  • 1 for Address Verification System failure.
verification_alertintNoCustomer verification status (fraud monitor). Can be:
  • 0 if no alert has been detected for the customer.
  • 1 if fraud alert is detected.
  • -1 if review by the merchant is required.

Session Object

Field NameTypeRequiredDescription
auth_tokenstringYesSession authentication token.
intentstringYesOperation intent. Only payment is supported for now.
session_statusstringYesCurrent session status. Can be:
  • Open - customer action expected
  • Action required - approval or processing by manager expected
  • Successful - closed with expected result
  • Failed - closed with decline
  • Expired - closed with intent not fulfilled
order_idstringYesPayment session ID
amountintNoTransaction amount (nullable) in minor units https://en.wikipedia.org/wiki/ISO_4217#Minor_unit_fractions
currencystringYesTransaction currency code https://en.wikipedia.org/wiki/ISO_4217
conversion_ratefloatNoApplied conversion rate, if any
processed_currencystringYesCurrency after processing https://en.wikipedia.org/wiki/ISO_4217
processed_amountintYesAmount after processing in processed currency, in minor units https://en.wikipedia.org/wiki/ISO_4217#Minor_unit_fractions
payment_methodstringNoAPM or CREDIT_CARD
gatewaystringNoPayment provider's name (e. g. Przelewy24 by Nuvei)
cidstringNoCustomer's ID
variable1stringNoCustom tag field #1
variable2stringNoCustom tag field #2
variable3stringNoCustom tag field #3

Billing Address Object

Field NameTypeRequiredDescription
addressstringYesStreet address
citystringYesCity name
statestringNoState or province
zipstringYesZIP or postal code
countrystringNoCountry (as string code or name)

Session Object

Field NameTypeRequiredDescription
auth_tokenstringYesSession authentication token
intentstringYesOnly payment is available now
session_statusstringYesStatus of the session. Can be:
  • Open - customer action expected
  • Action required - approval or processing by manager expected
  • Successful - closed with expected result
  • Failed - closed with decline
  • Expired - closed with intent not fulfilled
order_idstringYesMerchant transaction ID
currencystringYesCurrency code https://en.wikipedia.org/wiki/ISO_4217
amountintNoOriginal transaction amount in minor units https://en.wikipedia.org/wiki/ISO_4217#Minor_unit_fractions
conversion_ratefloatNoRate used to convert from original to processed currency
processed_currencystringNoCurrency after processing https://en.wikipedia.org/wiki/ISO_4217
processed_amountintNoFinal amount in processed currency in minor units https://en.wikipedia.org/wiki/ISO_4217#Minor_unit_fractions
cidstringNoCustomer unique ID
variable1stringNoCustom field passed due payment request
variable2stringNoCustom field passed due payment request
variable3stringNoCustom field passed due payment request

Transaction Object

Field NameTypeRequiredDescription
transaction_typestringYesOnly sale value is available as of now
transaction_statusstringYesStatus of the transaction. Can be:
  • Pending - waiting for updates from payment service provider
  • Approved - payment transaction has been approved
  • Rejected - payment transaction has been rejected by the payment service provider
  • Error - unexpected error has occurred during the processing
  • Canceled - payment transaction is marked as canceled
tidintYesInternal transaction ID
transaction_idstringNoExternal transaction ID of payment provider
currencystringYesCurrency code https://en.wikipedia.org/wiki/ISO_4217
amountintYesOriginal amount of the transaction in minor units https://en.wikipedia.org/wiki/ISO_4217#Minor_unit_fractions
conversion_ratefloatNoApplied conversion rate
processed_currencystringNoCurrency after processing https://en.wikipedia.org/wiki/ISO_4217
processed_amountintNoAmount after processing in processed currency, minor units https://en.wikipedia.org/wiki/ISO_4217#Minor_unit_fractions
payment_methodstringYesAPM or CREDIT_CARD
payment_processorstringYesPayment processor name (e. g. Nuvei )
gatewaystringYesPayment provider name (ex Przelewy24 by Nuvei)
is_asyncintYesDefault 1
is_cascadeintYesDefault 1
cascade_levelintYesDefault 1
created_bystringYesOnly INTERNET value is supported as of now.
status_codestringYesShort status code returned from the gateway or processor
status_detailsstringNoDetailed description or reason for the status
cardObjectNoPlease refer to Card object

Card object

Field NameTypeRequiredDescription
card_tokenstringNoCurrently is not returned
card_typestringNoType of card (e.g., VISA, MasterCard)
card_numberstringYesMasked card number (e.g., 4111********1111)
card_expstringNoCard expiration date (format: MM/YY or MM/YYYY)
card_issuer_namestringNoName of the card issuing bank or institution
card_issuer_countrystringNoCountry of the card issuer (ISO 3166-1 alpha-2 code or name)
card_holderstringNoName of the card holder, if available.