v1

latestOpenAPI 3.0.02026-07-24126202516.7 KB
Token Auth

Generate Token

Create a token, either for a bank or a card account, that can be used with the PromisePay.js package to securely send Assembly credit card details.

post/token_auths

Request body

token_type'bank' | 'card' required

Token type ID. use bank or card

user_idstring required

Buyer or Seller ID (already created)

Example request

{
  "token_type": "bank",
  "user_id": "seller-68611249"
}

Response

OK