Approve card renewal
Here, you will learn how to approve card renewals in Tuum.
Use case
In this example, we will demonstrate how to approve a card renewal using the cardRenewalId parameter.
Use case data
API parameters with values
We will approve card renewal C001664282475.
...card-renewals/C001664282475/approveThe approval will be made using the MANUAL_REVIEW_PASSED decision code.
{
"decisionCode": "MANUAL_REVIEW_PASSED"
}Sample API call
To approve a card renewal, use the following endpoint:
https://card-api.sandbox.tuumplatform.com/api/v1/card-renewals/{cardRenewalId}/approve
Sample request
Below is a sample API request to approve a card renewal.
{
"decisionCode": "MANUAL_REVIEW_PASSED"
}curl -L 'https://card-api.sandbox.tuumplatform.com/api/v1/card-renewals/C001664282475/approve' \
-H 'accept: */*' \
-H 'x-tenant-code: MB' \
-H 'Accept-Language: en' \
-H 'x-auth-token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJuYW1lIjoidGVzdCBrYXN1dGFqYSIsImVtcGxveWVlSWQiOiJJRC0xMTAwIiwidGVuYW50Q29kZSI6Ik1CIiwiZXhwaXJ5RFRpbWUiOiIyMDI1LTA5LTA0VDA5OjE1OjIxIiwiZXhwIjoxNzU2OTc3MzIxLCJyb2xlcyI6WyJBRE1JTiIsIlNZU1RFTSJdfQ.JVogm5ieLHMQbMckBwEDpkIzm6MJNFS5liNV4onXyhs' \
-H 'Content-Type: application/json' \
-d '{
"decisionCode": "MANUAL_REVIEW_PASSED"
}'Sample response
Below you will find the response to the API request:
Result
The card renewal has been approved and is now ready to be completed.
Last updated
Was this helpful?