Skip to main content

Get refund session/transaction details


GET

 /api/v1/payment_session/{gid}/refund

Fynd Platform uses this api to get refund session/transaction status and details. This API will enable Fynd Platform to current status of refund using gid. Extension will need to respond with the correct payment status. Extension should validate order_checksum_auth before processing the request. This to run cron from platform and update any order which payment was not updated before.
Request Parameters
gid
string
Global identifier for the transaction. This is generated by Fynd payments platform and is unique for each transaction
Response schema
200
400
Success
GetRefundPaymentSessionResponse
aggregator_payment_refund_details
array of object (AggregatorPaymentRefundDetails)
Details of individual refunds of an order
Array of AggregatorPaymentRefundDetails
gid
string
Global identifier for the transaction. This is generated by Fynd platform and is unique for each transaction
Example Response
{
"aggregator_payment_refund_details": [
{
"amount": 10000,
"currency": "INR",
"request_id": "17066802422601819004",
"status": "pending"
}
],
"gid": "TR661CED900E91E14001"
}

Was this section helpful?