Skip to main content
POST
Create card

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

slug
string
required

Issuer slug assigned by OpenCard

Body

application/json
id
string
required
payment_product
string
required

Code for the payment product this card belongs to — the same code you receive on the TPA initiate. OpenCard uses it to link the card to the customer's signed TPA.

Example:

"acmebank_credit"

last_four
string
required
Maximum string length: 4
bin_number
string
required
Maximum string length: 12
liability
enum<string>
required
Available options:
personal,
corporate,
corporate_with_personal_invoice
scheme
string
required
funding
enum<string>
required

Card funding — delivered to EMS as webhook field card_funding

Available options:
debit,
credit
issuer_organization_number
string
required
issuer_country_code
string
required
Required string length: 2
identity
object
required

Response

Already exists