Payment Requests
Get a payment request
Returns a payment request. Use expand to include related records.
get/payment-requests/{paymentRequestId}
Request
- Base URL: https://next-api.saturation.io/v1
- URL: https://next-api.saturation.io/v1/payment-requests/{paymentRequestId}
- Auth: HTTP bearer
Path parameters
paymentRequestIdstring required
A stable resource ID, such as prj_…, txn_…, or doc_….
Example:txn_8f2a1c9e
Query parameters
expandPayment Request Expand[]
Related records to include, separated by commas.
Response
The payment request.
Example response
{
"id": "txn_8f2a1c9e",
"workspaceId": "txn_8f2a1c9e",
"amount": {
"amount": 152900,
"currency": "USD"
},
"contact": {
"id": "txn_8f2a1c9e"
},
"purchaseOrder": {
"id": "txn_8f2a1c9e"
},
"document": {
"id": "txn_8f2a1c9e"
},
"payment": {
"id": "txn_8f2a1c9e",
"workspaceId": "txn_8f2a1c9e",
"amount": {
"amount": 152900,
"currency": "USD"
},
"destinationAmount": {
"amount": 152900,
"currency": "USD"
}
},
"transactions": [
{
"id": "txn_8f2a1c9e",
"amount": {
"amount": 152900,
"currency": "USD"
}
}
],
"budgetLine": {
"id": "txn_8f2a1c9e"
}
}Changes
No recorded changes to this operation across all 4 revisions of this API.