curl --request POST \
--url https://api.nest.pagosapi.com/v1/{account_id}/refunds \
--header 'Content-Type: application/json' \
--data '{
"refund_id": "<string>",
"amount": 1,
"currency": "<string>",
"created": "<string>",
"transaction_id": "<string>",
"transaction_order_id": "<string>",
"payment_method_details": {
"payment_method_type": "<string>",
"card": {
"attributes": {
"network": "<string>",
"type": "<string>",
"bin": "<string>",
"issuer_bank": "<string>",
"issuer_country": "<string>"
}
}
},
"refund_response": {
"status": "<string>",
"processor_response_code": "<string>",
"reason": "<string>"
},
"additional_data": {
"merchant_account_id": "<string>",
"order_id": "<string>",
"description": "<string>",
"acquirer_reference_number": "<string>",
"metadata": {}
},
"pagos_codes": {
"pagos_refund_status": "amount_too_high"
}
}'
curl --request POST \
--url https://api.nest.pagosapi.com/v1/{account_id}/refunds \
--header 'Content-Type: application/json' \
--data '{
"refund_id": "<string>",
"amount": 1,
"currency": "<string>",
"created": "<string>",
"transaction_id": "<string>",
"transaction_order_id": "<string>",
"payment_method_details": {
"payment_method_type": "<string>",
"card": {
"attributes": {
"network": "<string>",
"type": "<string>",
"bin": "<string>",
"issuer_bank": "<string>",
"issuer_country": "<string>"
}
}
},
"refund_response": {
"status": "<string>",
"processor_response_code": "<string>",
"reason": "<string>"
},
"additional_data": {
"merchant_account_id": "<string>",
"order_id": "<string>",
"description": "<string>",
"acquirer_reference_number": "<string>",
"metadata": {}
},
"pagos_codes": {
"pagos_refund_status": "amount_too_high"
}
}'