Get information on a payment made with our buttons or the
Create Payment API.
Notes
If at all possible you should use the
Instant Payment Notification (IPN) system to receive notifications about payments instead of using this polled interface. Example responses aren't provided for this reason.
API POST Fields (in addition to the Main Fields described in the Introduction)
Field Name | Description | Required? |
---|
Get Multiple Payment Information |
---|
cmd | get_tx_info_multi | Yes |
pmtid | Lets you query up to 25 payment ID(s) (API key must belong to the seller.) Payment IDs should be separated with a | (pipe symbol.) Note: It is recommended to handle IPNs instead of using this command when possible, it is more efficient and places less load on our servers. | Yes |
Get Payment Information |
---|
cmd | get_tx_info | Yes |
pmtid | The payment ID to query (API key must belong to the seller.) Note: It is recommended to handle IPNs instead of using this command when possible, it is more efficient and places less load on our servers. | Yes |
full | Set to 1 to also include the raw checkout and shipping data for the payment if available. (default: 0) | No |
API Response
A successful call to the 'get_tx_info' command will give you a result similar to this (JSON):
- Example Unavailable -