v1
latestOpenAPI 3.1.02026-08-06236494759.4 KBPre-approved Spend
Redeem Purchase
Endpoint to redeem a Purchase.
post/business/v2/purchases/{purchaseId}/redeem
Path parameters
purchaseIdstring required
The Purchase ID.
Example:7bf79328-a7ae-4222-aa54-091ff7f429a7
Headers
X-Soldo-Fingerprintstring required
Advanced authentication: SHA512SUM of the fingerprint values listed in the fingerprint order for this endpoint.
Example:{{fingerprint}}
X-Soldo-Fingerprint-Signaturestring required
Advanced authentication: Signature of the X-Soldo-Fingerprint.
Example:{{fingerprint_signature}}
Response
The returned resource is a single Order.
Example response
{
"id": "7bf79328-a7ae-4222-aa54-091ff7f429a7",
"creation_time": "2017-06-01T12:48:40Z",
"last_update_time": "2017-06-01T12:48:40Z",
"total_paid_amount": 10.25,
"items": [
{
"id": "7bf79328-a7ae-4222-aa54-091ff7f429a7",
"item_type": "CARD"
}
],
"is_valid": true
}