POST
/
batches
Create Batch Payments
curl --request POST \
  --url https://api.synctera.com/v1/batches \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "dry_run": true,
  "tenant": "abcdef_ghijkl",
  "transaction_ids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}'
{
  "batches": [
    {
      "amount": 123,
      "batch_payment_template_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "batched_transfer_ids": [
        "3c90c3cc-0d44-4b50-8888-8dd25736052a"
      ],
      "creation_time": "2010-05-06T12:23:34.321Z",
      "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
      "last_updated_time": "2010-05-06T12:23:34.321Z",
      "payment_rail": "<string>",
      "payment_rail_transfer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "status": "CANCELLED",
      "tenant": "abcdef_ghijkl",
      "transaction_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    }
  ],
  "dry_run": true,
  "tenant": "abcdef_ghijkl"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Attributes of the Batch Payment

The body is of type object.

Response

201
application/json

Successful creation of a Batch Payment

The response is of type object.