Field | Type | Mandatory | Description |
---|
external_id | String | Mandatory | Unique transaction reference from client. Must be unique per transaction. |
amount | Float | Mandatory | Transfer amount (must be > 0). |
currency | String | Optional | Supported values: IDR, MYR. Defaults to IDR if not specified. |
sender_id | String | Mandatory | Reference to a verified sender identity belonging to the client. |
receiver_name | String | Mandatory | Full name of the receiver. |
receiver_account_no | String | Mandatory | Numeric destination account number. |
receiver_bank_code | String | Mandatory | Bank code used for disbursement |
remark | String | Optional | Optional transaction note, max 140 characters. |
- In Production:
- Provider configuration and fallback logic are set in the dashboard.
- Paystrator automatically routes based on availability, reliability, and type.
- In Sandbox:
- Only one provider can be enabled per product per environment.
- This ensures test consistency.
HTTP Code | Error Code | Description | Action Needed |
---|
400 | wrong_parameters_in_request | Required field is missing or invalid | Check your request for a mistake or missing parameter |
409 | invalid_sender_id | Sender not found or not owned by this client | Please use the correct sender ID |
409 | invalid_parameters_in_request | A transaction with this external_id already exists | Please use unique externalId |
4xx/5xx | provider_error | Failed on provider’s side | Please contact provider / retry |