cURL
curl --request GET \ --url https://api.example.com/Payments/{paymentIdOrHandle}
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "paymentDate": "2023-11-07T05:31:56Z", "scheduleDate": "2023-11-07T05:31:56Z", "handle": "<string>", "description": "<string>", "reference": "<string>", "amount": 123, "currency": "<string>", "test": true, "status": "Pending", "statusText": "<string>", "settlementDate": "2023-11-07T05:31:56Z", "createdAt": "2023-11-07T05:31:56Z", "modifiedAt": "2023-11-07T05:31:56Z", "mandate": { "handle": "<string>", "scheme": "<string>", "status": "Created", "customerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } }
OK
Pending
Settled
Scheduled
Rejected
Cancelled
Chargeback
PendingCancel
Show child attributes
Created
PendingProcess
PendingVerification
Active