@bebapps/rapyd-sdk
Version:
An un-official [Rapyd](https://rapyd.net) SDK for Node.js.
27 lines (26 loc) • 751 B
text/typescript
export interface CreateRefundRequest {
/**
* The amount of the refund. Decimal. For more information, see [Refund Object](ref:refund-object).
*/
amount?: number;
/**
* An array of objects that represent wallets that the refund is charged to. For more information, see [Refund Object](ref:refund-object).
*/
ewallets?: string;
/**
* ID defined by the client. Limited to 255 characters.
*/
merchant_reference_id?: string;
/**
* A JSON object defined by the client.
*/
metadata?: object;
/**
* ID of the Payment object that the refund is charged against. String starting with **payment_**.
*/
payment: `payment_${string}`;
/**
* Description of the reason for the refund.
*/
reason?: string;
};