@bebapps/rapyd-sdk
Version:
An un-official [Rapyd](https://rapyd.net) SDK for Node.js.
31 lines (30 loc) • 804 B
text/typescript
export interface PayServiceProviderRequest {
/**
* Amount of the payment, in units defined in `currency`.
*/
amount: number;
/**
* The currency accepted by the service provider. Three-letter ISO 4217 code. Uppercase.
*/
currency: string;
/**
* Description of the payment transaction.
*/
description?: string;
/**
* ID of the customer's wallet. String starting with **ewallet_**.
*/
ewallet: `ewallet_${string}`;
/**
* Object containing the fields required for the service provider. To get a list of required fields, use [Retrieve Service Provider Details](ref:retrieve-service-provider-details).
*/
fields: string;
/**
* A JSON object defined by the client.
*/
metadata?: object;
/**
* ID of the service provider.
*/
type: string;
};