Refund Card Capture
The "Refunds" functionality allows external customers/users to request a refund of the amount paid. It is available through API or Front
API Refund Capture
Headers
Name
Type
Description
Request Body
Name
Type
Description
{
"externalId": "XXXX",
"internalId": "{{InternalId}}",
"status": {
"code": "902",
"description": "REFUNDED",
"detail": "The payin was refunded"
}
}{
"status": {
"code": "400",
"description": "ERROR",
"detail": "Invalid operation"
}
}curl --location --request PATCH 'https://api.stage.localpayment.com/api/payin/{{externalId}}/refund' \
--header 'x-client-code: 0000' \
--header 'Content-Type: application/json' \
--header 'Authorization:{{Token_Generated}}' \
--data '{
"comment": "Refund API Credit Card"
}'{
"externalId": "{{externalId}}",
"internalId": "{{InternalId}}",
"status": {
"code": "902",
"description": "REFUNDED",
"detail": "The payin was refunded"
}
}{
"status": {
"code": "400",
"description": "ERROR",
"detail": "Invalid operation"
}
}Manual Transaction Refund Capture
Last updated
Was this helpful?