Payment callback

Payment Transaction Notifications

When the merchant’s system receives a callback from the 2Pay system, it is recommended that the merchant’s system validates the parameters in the callback information by using the verifySign, to ensure that the data has not been tampered with.

2Pay returns the following parameters in callbacks (including IPN).

Parameter

Type

Description

transactionNo

string

The Transaction ID in the 2Pay system.

status

string

The status of the transaction

amount

string

The transaction amount.

currency

string

The supported transaction currency are "USD"

settleCurrency

string

The supported settlement currency are "USD"

time

string

The date and time when the authorization was created

Format : "YYYYMMDDHHMMSS".

reference

string

The Invoice Number of the transaction in the merchant’s system.

vendorId

string

Providers Transaction ID

note

string

The payment note.

verifySign

string

The parameter signature.

2Pay Timezone

2Pay's working timezone is UTC.

Last updated