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