Get payment request by ID
View as MarkdownRetrieve complete information for a single payment request including:
Full description
| Retrieve complete information for a single payment request including: - Payment request details and current status - Amount information - Associated transaction IDs - Device and store information - References and metadata
Authorization
PAT commerce.payment-request:readPersonal Access Token (PAT). Include as Authorization: Bearer $GODADDY_PAT. Required scopes: commerce.payment-request:write, commerce.payment-request:read.
In: header
Scope: commerce.payment-request:read
Path Parameters
Unique identifier for the store
uuidUnique identifier for the payment request
uuidHeader Parameters
Unique identifier for this call, used for duplicate detection and tracing. A repeated value for the
same store within 30 minutes returns 409 DUPLICATE_REQUEST. It doesn't make create safe to
retry: send a new value on every call, and reuse paymentRequestId to retry the same charge.
uuidResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/stores/497f6eca-6276-4993-bfeb-53cbbbba6f08/payment-requests/497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "paymentRequestId": "a1b2c3d4-e5f6-4789-9abc-def123456789", "type": "SALE", "transactionRefNum": "a1b2c3d4-e5f6-4789-9abc-def123456789", "originalTransactionId": "b2c3d4e5-f6a7-8901-bcde-f123456789ab", "storeId": "12345678-90ab-cdef-1234-567890abcdef", "deviceId": "urn:tid:2cf6f478-e7c6-3378-8cda-74ee60715e13", "amount": { "amount": 0, "currency": "str", "amountType": "SIMPLE" }, "paymentInstructions": { "multiTender": true, "skipReceiptScreen": true, "skipSignatureScreen": true, "disableTip": true }, "createdAt": "2022-07-21T17:32:28Z", "updatedAt": "2022-07-21T17:32:28Z", "status": "RECEIVED", "notes": "Table 5 - Split payment with card", "references": [ { "type": "CUSTOM", "value": "ORD-2024-001", "additionalLabel": "POS Order" } ], "transactionIds": [ "11111111-2222-3333-4444-555555555555" ], "links": [ { "href": "http://example.com", "rel": "string", "title": "string", "targetMediaType": "string", "targetSchema": null, "method": "string", "submissionMediaType": "application/json", "submissionSchema": null } ], "activities": [], "callbackConfig": { "url": "https://client.example.com/webhooks/payment-requests", "authentication": { "type": "hmac", "value": "your-shared-secret-key" }, "payloadConfig": { "includeFields": [ "paymentRequestId", "type", "amount", "storeId", "transactions" ], "legacyMode": false } }}Last updated on
How is this guide?