cURL
curl --request POST \ --url https://api.goterminal.xyz/ledger \ --header 'Content-Type: application/json' \ --header 'X-Api-Key: <x-api-key>' \ --data ' { "amount": 1000, "currency": "USD", "data": {}, "external_id": "ext-12345", "from_account_id": "acc-12345", "to_account_id": "acc-67890", "type": "transfer" } '
{ "description": "Oops...there was an error with your payment method. Please try again.", "error": "<string>", "success": true }
Create a new transaction with the provided details. Amount is in cents.
API Key
Transaction Payload
1000
"USD"
"ext-12345"
"acc-12345"
"acc-67890"
"transfer"
Success
Oops...there was an error with your payment method. Please try again.
Something went wrong
Please enter the code we sent you
Something went wrong on our end. Please reload your app, and contact support if this continues.