Get a payment details by id.
The payment object represents a single payment, however there can be multiple attempts at trying to complete the transaction. This means that if a payment fails (aka is dishonoured) you can re-attempt it until it succeeds. This is handy for keeping track of payment attempts in one place, however you're more than welcome to create a brand new payment, instead of re-attempting a failed one.
Attribute | Description |
---|---|
id string | The payment ID. Payments are prefixed with "_pmt". |
payerId | The payer's ID |
amount | The payment amount in cents |
transactionDate | The date the transaction was attempted |
description | An optional description of the payment. This will be visible to the payer. |
status | The current status of the payment. Will be one of:
|