v2.4.0 Stable

Build the future of payments.

Integrate PayTransa's robust API. Secure, RESTful, and built for scale.

Authentication

Use Bearer tokens to authenticate your requests. Never share your secret keys.

GET /v2/accounts HTTP/1.1
Host: api.paytransa.com
Authorization: Bearer sk_test_51MzS...

Transfer Funds

POST /v2/transfer/create
ParamTypeReqDescription
amountint64YesValue in cents.
dest_accstringYesRecipient UUID.
typestringNo"internal" or "swift".
PHP INTEGRATION EXAMPLE
$ch = curl_init('https://api.paytransa.com/v2/transfer/create');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode([
    'amount' => 50000,
    'dest_acc' => 'USR_9921',
    'currency' => 'USD'
]));
$response = curl_exec($ch);

API Response Codes

CodeStatusMeaning
200OKThe request was successful.
401UnauthorizedInvalid API Key.
402FailedInsufficient balance in wallet.
429Rate LimitToo many requests per second.