Supported Formats

json

POST /api/accounts/:account_id/offline_credits
Creates an offline credit for given account

Supported Formats

json

Errors

Code Description
401 Unauthorized
403 Forbidden
422 Unprocessable Entity

Params

Param name Description
account_id
required

Account ID

Validations:

  • Must be a String

offline_credit
optional

Parameter container

Validations:

  • Must be a Hash

offline_credit[amount_cents]
required

Validations:

  • Must be a Integer

offline_credit[amount_currency]
required

Validations:

  • Must be a String

offline_credit[notes]
optional

Validations:

  • Must be a String