v8
OpenAPI 3.1.02026-08-033623795.0 MBRefunds
Retrieve refund
Retrieves the details of an existing refund.
Required permissions:
- payment:basic:read
- plan:basic:read
- access_pass:basic:read
- member:email:read
- member:basic:read
- member:phone:read
get/refunds/{id}
Path parameters
idstring required
Example:rf_xxxxxxxxxxxxxxx
The unique identifier of the refund.
Response
A successful response
Example response
{
"amount": 6.9,
"created_at": "2023-12-01T05:00:00.401Z",
"id": "rf_xxxxxxxxxxxxxxx",
"payment": {
"card_last4": "4242",
"created_at": "2023-12-01T05:00:00.401Z",
"dispute_alerted_at": "2023-12-01T05:00:00.401Z",
"id": "pay_xxxxxxxxxxxxxx",
"membership": {
"id": "mem_xxxxxxxxxxxxxx"
},
"paid_at": "2023-12-01T05:00:00.401Z",
"plan": {
"id": "plan_xxxxxxxxxxxxx"
},
"product": {
"id": "prod_xxxxxxxxxxxxx"
},
"subtotal": 6.9,
"tax_amount": 6.9,
"tax_refunded_amount": 6.9,
"total": 6.9,
"usd_total": 6.9,
"user": {
"email": "john.doe@example.com",
"id": "user_xxxxxxxxxxxxx",
"name": "John Doe",
"username": "johndoe42"
}
},
"provider_created_at": "2023-12-01T05:00:00.401Z",
"reference_value": "74850120752"
}