curl --request POST \
--url https://api.paygentic.io/v0/transactions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"sourceAccountId": "<string>",
"destinationAccountId": "<string>",
"debitAccountId": "<string>",
"creditAccountId": "<string>",
"amount": 123,
"description": "<string>",
"idempotencyKey": "<string>",
"commitmentId": "<string>"
}'
{
"object": "transaction",
"data": {
"id": "<string>",
"createdAt": 123
}
}
curl --request POST \
--url https://api.paygentic.io/v0/transactions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"sourceAccountId": "<string>",
"destinationAccountId": "<string>",
"debitAccountId": "<string>",
"creditAccountId": "<string>",
"amount": 123,
"description": "<string>",
"idempotencyKey": "<string>",
"commitmentId": "<string>"
}'
{
"object": "transaction",
"data": {
"id": "<string>",
"createdAt": 123
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Transaction executed successfully
The response is of type object
.