Download OpenAPI specification:Download
OpenAPI specification for Repzo Refund endpoints.
{- "data": [
- {
- "_id": "string",
- "client": "string",
- "rep": "string",
- "invoice": "string",
- "amount": 0,
- "reason": "string",
- "status": "pending",
- "refundMethod": "string",
- "reference": "string",
- "notes": "string",
- "processedAt": "2019-08-24T14:15:22Z",
- "integration_meta": { },
- "company_namespace": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "__v": 0
}
], - "total_result": 0,
- "current_count": 0,
- "total_pages": 0,
- "current_page": 0,
- "per_page": 0
}| client required | string Client ID associated with the refund |
| rep | string Representative ID who processed the refund |
| invoice | string Invoice ID being refunded |
| amount required | number Refund amount |
| reason required | string Reason for the refund |
| refundMethod | string Method of refund |
| reference | string Reference number for the refund |
| notes | string Additional notes |
object Integration metadata |
{- "client": "string",
- "rep": "string",
- "invoice": "string",
- "amount": 0,
- "reason": "string",
- "refundMethod": "string",
- "reference": "string",
- "notes": "string",
- "integration_meta": { }
}{- "_id": "string",
- "client": "string",
- "rep": "string",
- "invoice": "string",
- "amount": 0,
- "reason": "string",
- "status": "pending",
- "refundMethod": "string",
- "reference": "string",
- "notes": "string",
- "processedAt": "2019-08-24T14:15:22Z",
- "integration_meta": { },
- "company_namespace": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "__v": 0
}{- "_id": "string",
- "client": "string",
- "rep": "string",
- "invoice": "string",
- "amount": 0,
- "reason": "string",
- "status": "pending",
- "refundMethod": "string",
- "reference": "string",
- "notes": "string",
- "processedAt": "2019-08-24T14:15:22Z",
- "integration_meta": { },
- "company_namespace": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "__v": 0
}| id required | string |
| status | string Enum: "pending" "approved" "rejected" "processed" Status of the refund |
| refundMethod | string Method of refund |
| reference | string Reference number for the refund |
| notes | string Additional notes |
| processedAt | string <date-time> When the refund was processed |
object Integration metadata |
{- "status": "pending",
- "refundMethod": "string",
- "reference": "string",
- "notes": "string",
- "processedAt": "2019-08-24T14:15:22Z",
- "integration_meta": { }
}{- "_id": "string",
- "client": "string",
- "rep": "string",
- "invoice": "string",
- "amount": 0,
- "reason": "string",
- "status": "pending",
- "refundMethod": "string",
- "reference": "string",
- "notes": "string",
- "processedAt": "2019-08-24T14:15:22Z",
- "integration_meta": { },
- "company_namespace": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "__v": 0
}