Get a Payment
GET/payments/:id
Get a Payment
Request
Path Parameters
Responses
- 200
OK
Response Headers
Acme-Mode
string
Has the value LIVE if the data exists in live production mode or the value TEST if the data exists in test sandbox mode.
- application/json
- Schema
- Example (from schema)
Schema
INVALID_DATE
: Invalid date.INVALID_CURRENCY
: Currency not appropriate for the payment type.INVALID_AMOUNT
: Amount not appropriate for the payment type.INVALID_BANK
: Receiver bank is invalid.INVALID_PROXY_TYPE
: Receiver proxy type is invalid.INVALID_PROXY_VALUE
: Receiver proxy value is invalid.INVALID_SENDER_ACCOUNT_CURRENCY
: Invalid sender account currency.DUPLICATE_TRANSACTION
: This payment is not processed because it is a duplicate of a previous payment, ensure you use a unique customerReference.OTHERS
: Generic or unknown reason. If you need to find out more, reach out to Acme Support.
Unique identifier for the object.
Possible values: [FAST
, GIRO
, ACT
, TT
, PAYNOW
, MY_DUITNOW
]
Type of the payment
A positive integer value in specified currency's smallest unit. e.g. for SGD, $10 would be represented as 1000 (cents).
Three-letter ISO 4217 currency code in full uppercase.
A meaningful description of the payment. This will show up in the receiver's bank statement. Characters used should be restricted to the SWIFT Character Set: uppercase and lowercase letters A-Z, 0-9 numerals, space, and these symbols: /-?:().,'+
.
Sender's account ID. Must be an internal account.
Currency to use in the sender account, if it has multiple currencies. Optional if sender account only has one currency configured.
receiver
object
Receiver's name
Receiver's bank SWIFT/BIC code
Receiver's bank account number
Possible values: [MOBILE
, UEN
, VPA
]
The proxy type if type is PAYNOW
The proxy value if type is PAYNOW
address
object
Receiver's address
Possible values: [PROCESSING
, FAILED
, SUBMITTED
, COMPLETED
]
Status of the payment
Possible values: [INVALID_DATE
, INVALID_CURRENCY
, INVALID_AMOUNT
, INVALID_BANK
, INVALID_PROXY_TYPE
, INVALID_PROXY_VALUE
, INVALID_SENDER_ACCOUNT_CURRENCY
, DUPLICATE_TRANSACTION
, OTHERS
]
Result code of the payment, if available. Possible values are:
Time at which the object was created. In ISO 8601 format.
Time at which the object was last updated. In ISO 8601 format.
{
"id": "pymt_0H3BQXP3VF2HZ",
"type": "FAST",
"amount": 4200,
"currency": "SGD",
"customerReference": "BONUS-2024-01",
"senderAccountId": "intacc_0H3BQY9BK1FCG",
"senderAccountCurrency": "SGD",
"receiver": {
"name": "Harry Potter",
"bank": "DBSSSGSGXXX",
"bankAccountNumber": "0052312891",
"proxyType": "MOBILE",
"proxyValue": "+6592345678",
"address": {
"line1": "20 Main Street",
"line2": "Unit #03-45",
"city": "Singapore",
"state": "",
"postalCode": "11111",
"country": "Singapore"
}
},
"status": "PROCESSING",
"resultCode": "INVALID_DATE",
"createdAt": "2023-04-24T00:00:00.000000Z",
"updatedAt": "2023-04-24T00:00:00.000000Z"
}