Credit Void
A void cancels a credit request that was submitted but not yet processed by the processor. A void request is declined when the credit request has already been sent to the processor
POST /v1/payments/credits/:id/void
curl –X POST 'https://api.firstoken.co/v1/payments/credits/:id/void' \
--header 'Content-Type: application/json' \
--header 'x-api-key: YOUR API KEY' \
--data '{
"transaction_info": {
"type": "credit_void",
"reference_code": "123456789"
},
"device_info": {
"ip_address": "12.7.8.120"
}
}'
Last updated
Was this helpful?