Skip to main content
POST
/
payment-batches
/
{paymentBatchId}
/
payments
cURL
curl --request POST \
  --url 'https://api.equalsmoney.com/v2/payment-batches/{paymentBatchId}/payments?accountId={{accountId}}' \
  --header 'Authorization: <api-key>'
{
  "format": "json",
  "status": "accepted",
  "createdAt": "2019-08-24T14:15:22Z",
  "updatedAt": "2019-08-24T14:15:22Z"
}

Authorizations

Authorization
string
header
required

Headers

content-type
string
required

Format for the payments upload.

Path Parameters

paymentBatchId
string<uuid>
required

The unique ID of the Payment Batch.

Maximum string length: 36

Query Parameters

accountId
string
required

The ID of the account to work with.

Example:

"F50091"

Body

application/json

Body

defaultFundingBudgetId
string<uuid>
required

The ID of the budget that will fund each payment if one isn't specified per payment

Maximum string length: 36
rows
object[]
required

Array of all the payments with optional fundingBudgetId.

Response

202 - application/json

Accepted

format
enum<string>
required

The format that the payments were uploaded in.

Available options:
json,
csv
status
enum<string>
required

The status of the upload

Available options:
accepted,
uploaded,
validated,
failed
createdAt
string<date-time>
required

The date the Resource was initially created. ISO 8601 format without milliseconds.

updatedAt
string<date-time>
required

The date the Resource was last modified. ISO 8601 format without milliseconds.