Skip to main content

SafetyPay Get Serial Numbers Response

getSerialNumbersReturn object
mtidstring

Merchant transaction identifier.

Example: pay_1000067571_T23Gn1TLmSQ3Aj3im7KwFvAPrUgkCxmJ_BRL
resultCodeinteger

Result code returned for the operation.

Example: 0
errorCodeinteger

Error code returned for the operation.

Example: 0
amountnumber<double>

Payment amount.

Example: 2000
currencystring

Payment currency.

Example: BRL
dispositionStatestring

Current disposition state.

Example: S
serialNumbersstring

Serial-number and amount information returned for the payment.

Example: 1421456559;2000.00
paymentInstrumentstring

Payment instrument used for the transaction.

Example: safetypay
paymentInstrumentSubtypestring

Payment instrument subtype used for the transaction.

Example: online
bankIdstring

Identifier of the bank used for the transaction.

Example: 9999
SafetyPay Get Serial Numbers Response
{
"getSerialNumbersReturn": {
"mtid": "pay_1000067571_T23Gn1TLmSQ3Aj3im7KwFvAPrUgkCxmJ_BRL",
"resultCode": 0,
"errorCode": 0,
"amount": 2000,
"currency": "BRL",
"dispositionState": "S",
"serialNumbers": "1421456559;2000.00",
"paymentInstrument": "safetypay",
"paymentInstrumentSubtype": "online",
"bankId": "9999"
}
}