Supported Formats

json

POST /api/users/:user_id/offline_payments
Creates an offline payment record.

Supported Formats

json

Errors

Code Description
401 Unauthorized
403 Forbidden
404 User Not Found.
422 Unprocessable request.

Examples

POST /api/users/59c241daa83dc1219d4f29ea/offline_payments
{
  "offline_payment": {}
}
401

Params

Param name Description
user_id
optional

User ID

Validations:

  • Must be a String

offline_payment
required

Offline payment parameter container

Validations:

  • Must be an Array of nested elements

offline_payment[amount]
required

Amount

Validations:

  • Must be a Float

offline_payment[currency]
required

Amount Currency

Validations:

  • Must be a String

offline_payment[converted]
required

Payment

Validations:

  • Must be a Float

notes
optional

Payment Notes

Validations:

  • Must be a String


GET /api/users/:id/approved_balance

Supported Formats

json

Errors

Code Description
401 Unauthorized
403 Forbidden
404 User Not Found

Params

Param name Description
id
required

User’s ID.

Validations:

  • Must be a String