Skip to content

Link card via token

POST
/v1/bills/token

Link a card to your account using an encrypted token from the TabaPay Browser SDK. Optionally overwrites an existing bill.

object
token
required

Encrypted card token from TabaPay SDK

string
billId

Existing bill ID to overwrite with TabaPay

string

Response for status 200

object
billId
required
string
tabapayAccountId
required
string
last4
required
string

Response for status 401

object
type

A URI reference that identifies the problem type

string
default: about:blank
title
required

A short, human-readable summary of the problem type

string
status
required

The HTTP status code

number
detail

A human-readable explanation specific to this occurrence

string
instance

A URI reference that identifies the specific occurrence

string
realm

The authentication realm

string
scope

The required scope for this resource

string

Response for status 500

object
type

A URI reference that identifies the problem type

string
default: about:blank
title
required

A short, human-readable summary of the problem type

string
status
required

The HTTP status code

number
detail

A human-readable explanation specific to this occurrence

string
instance

A URI reference that identifies the specific occurrence

string