API Documentation

POST /persons/:id/pay

Register user, funding source, and initiate micro-deposit.

Headers

KEY VALUE
Content-Type application/json
Authorization Bearer {token}

Request

KEY REQUIRED COMMENT
account_no Yes int
routing_no Yes int
account_type Yes This must be either “checking” or “savings”

Response

KEY VALUE
id int. The payment method ID.

Response status

CODE COMMENT
201 Request OK.
403 Forbidden.
401 Unauthorized (person wasn’t created before).
400 Wrong payload.