Skip to main content
POST
/
v1
/
statutory
/
remittances
Create a remittance
curl --request POST \
  --url https://api.cadanapay.com/v1/statutory/remittances \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "businessId": "<string>",
  "countryCode": "MX",
  "filingIds": [
    "<string>"
  ],
  "fundFromCurrency": "USD"
}
'
{
  "id": "fil_01HQ3K4N7XYZABC"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
businessId
string
required
countryCode
string
required

ISO 3166-1 alpha-2 country code

Example:

"MX"

filingIds
string[]
required

Filings to remit for. Multiple filings to the same authority can be batched into a single remittance.

fundFromCurrency
string
required

Currency to debit from the business balance (auto-converted if needed)

Example:

"USD"

Response

Remittance created

Response containing the ID of a newly created resource.

id
string
Example:

"fil_01HQ3K4N7XYZABC"