curl --request POST \
--url https://api.sibipro.com/offers/{id}/credit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"creditAmount": 10000
}
'{
"success": true,
"creditAmount": 10000,
"updatedAt": "2024-01-20T12:00:00Z"
}Updates the credit amount on an existing v2 offer. Only allowed when the offer is in PENDING or AWAITING_CUSTOMER status.
curl --request POST \
--url https://api.sibipro.com/offers/{id}/credit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"creditAmount": 10000
}
'{
"success": true,
"creditAmount": 10000,
"updatedAt": "2024-01-20T12:00:00Z"
}Documentation Index
Fetch the complete documentation index at: https://docs.sibipro.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the offer to update
Credit amount in cents (e.g., 10000 = $100.00). Must be a non-negative integer.
x >= 010000
Offer credit amount updated successfully
Whether the credit amount was updated successfully
true
The credit amount that was persisted, in cents. Callers should verify this matches their request.
x >= 010000
Timestamp when the credit amount was updated
"2024-01-20T12:00:00Z"