Skip to main content
POST
cURL

Path Parameters

account_id
string
required

Body

application/json
transaction_id
string
required

A unique value that identifies this transaction and will be used as the key when making updates to transactions. Maximum 255 characters.

Required string length: 1 - 255
amount
integer
required

The transaction amount, represented as a positive integer in the smallest currency unit (e.g. two-decimal currency such as $101.50 is represented as 10150, zero-decimal currency such as ¥1095 is represented as 1095). Refer to the ISO 4217 currency page for guidance.

Required range: x >= 0
currency
string
required

The currency of the transaction, represented by the 3-letter ISO-4217 currency code. Must be three characters.

Required string length: 3
created
string
required

The date when the transaction was created, represented in ISO 8601 format (e.g. 2023-09-04T16:13:05Z).

status
string
required

The status of the transaction (e.g. authorized, cancel_or_refund, canceled, capture, deposit, failed, gateway_rejected, paid, pending, processor_declined). Maximum 50 characters.

Required string length: 1 - 50
verification
boolean
required

A flag identifying if the record is a card verification (i.e. $0 or $1 authorization). The possible values are true or false; the default value is false.

payment_method_details
object
required
transaction_response
object
required
pagos_codes
object
required
stored_credential
string | null

A value identifying if the customer is present or not present for the transaction. It also identifies if the payment was from a stored payment method or a PAN (e.g. moto, POS, card on file, subscription). Maximum 255 characters.

Maximum string length: 255
order
object | null
customer
object | null
3dSecure
object | null
merchant
object | null
additional_data
object | null

Response

201 - undefined