ledger-card accounts
Create a corporate card.
Changed onCreates a card account for the business. KYB/KYC is submitted to the card provider as part of this call; the card itself is only issued (and the initial funding amount debited) once KYC is approved - see the returned status. A business may have at most one card account pending KYC at a time, and is subject to a lifetime limit on the total number of card accounts it may ever create (see the 409 response).
post/ledger/card-accounts
Request
- Base URLhttps://external.dev.onboardpay.co
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"cardPackageId": "onb-cards"
}Response
Card account created (typically PENDING_KYC)
Example response
{
"currency": "USD"
}Changes
- info
added the non-success response with the status
- info
- info
added the new optional request property
- info