Create Send Money API

This is your first endpoint! Edit this page to start documenting your API.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Request Parameters

FieldTypeMandatoryDescription
externalIdStringMandatoryUnique transaction reference from client. Must be unique per transaction.
amountFloatMandatoryTransfer amount (must be > 0).
currencyStringOptionalSupported values: IDR, MYR. Defaults to IDR if not specified.
senderIdStringMandatoryReference to a verified sender identity belonging to the client.
receiverNameStringMandatoryFull name of the receiver.
receiverAccountNoStringMandatoryNumeric destination account number.
receiverBankCodeStringMandatoryBank code used for disbursement
remarkStringOptionalOptional transaction note, max 140 characters.
metadataStringOptionalCustom key-value pairs. Stored in Paystrator and returned in API/webhook, but never sent to providers. Read more about metadata here.

System Routing Logic

  • 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.


Error Handling

All error follow this scheme:

...
"error": {
    "code": "<machine_readable_code>",
    "message": "<human readable message>",
    "action": "<what the dev should do>",
    "reason": "<why it happened>"
}
...

HTTP CodeCodeDescriptionAction Needed
400wrong_parameters_in_requestRequired field is missing or invalidCheck your request for a mistake or missing parameter
401permission_deniedUser is not permitted to access the APICheck your Public Access Token or you API Key pair
409invalid_sender_idSender not found or not owned by this clientPlease use the correct sender ID
409invalid_parameters_in_requestA transaction with this external_id already existsPlease use unique externalId
4xx/5xxprovider_errorFailed on provider’s sidePlease contact provider / retry

Body Params
string
required

Unique transaction reference from client

string
enum
required
Defaults to SEND_MONEY
Allowed:
integer
required

Transfer amount (must be > 0)

string
Defaults to IDR

Supported values: IDR, MYR. Inferred from phone number or defaults to IDR

string

Reference to a verified sender identity belonging to the client

attributes
object
required
string

Optional transaction note, max 140 characters

string
Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json