Supported Formats

json

POST /api/users/:user_id/offline_services
Creates an offline service.

Supported Formats

json

Errors

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

Examples

POST /api/users/59c241f1a83dc1219d4f4617/offline_services
{
  "offline_service": {}
}
401

Params

Param name Description
user_id
optional

User ID

Validations:

  • Must be a String

offline_service
required

Offline service parameter container

Validations:

  • Must be an Array of nested elements

offline_service[amount]
required

Amount

Validations:

  • Must be a Float

offline_service[amount_currency]
required

Amount Currency

Validations:

  • Must be a String

offline_service[client_account_id]
required

Account ID

Validations:

  • Must be a String

offline_service[notes]
optional

Payment Notes

Validations:

  • Must be a String