Payout
Payout Estimate
This endpoint calculates the estimated total payout amount, including MDR (Merchant Discount Rate) and transaction fees, based on the supplied amount, wallet ID, and card number.
API Endpoint
POST
https://api.thepayment.company/api/v1/wallet/estimate-payoutHeaders
| Header Name | Description |
|---|---|
Content-Type | Defines the content type. Always use application/json. |
Authorization | Bearer token used for authentication. |
Request Fields
| Parameter | Type | Description | Required |
|---|---|---|---|
wallet_id | String | User wallet ID | Yes |
amount | Number | Transaction amount in the smallest currency unit | Yes |
card_number | String | Credit or debit card number | Yes |
Payload
Send the request payload as JSON. The sample structure is shown below: