Fiat Payments
Refund pay-in
Initiates seamless one-click refund processing for any previous pay-in. Once accepted, a refund transaction appears in your portal and can be acquired via API.
Upon activation, the system automatically generates a new transaction according to our standard workflow. You can request multiple refunds for the same transaction, as long as the total refunded amount doesn't exceed what was originally paid in.
post/payment/v1/payins/{transactionReference}/refund
Request
- Base URLhttps://api.sandbox.bvnk.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
transactionReferencestring uuid required
Example:023e5e53-6f50-4af5-a7e4-c9f15d493f90
Unique reference (UUID) of the pay-in you want to refund.
Headers
X-Idempotency-Keystring uuid required
Example:1e74002e-74a1-48fd-b707-147c3187a3e1
Unique request identifier (any string, preferably in UUID format).
Request body
Example request
{
"paymentReference": "order123456",
"amount": {
"value": 150.5,
"currency": "EUR"
},
"metadata": {
"source": "api",
"orderId": "ORD-48213"
}
}Response
Refund request accepted
Example response
{
"transactionReference": "018e5e83-ac50-4df0-a7e4-c9f15d493f90",
"fee": {
"value": 1.5,
"currency": "EUR"
}
}Changes
No recorded changes to this operation across all 3 revisions of this API.