Create a card collection request for a business wallet. Card collections require a verified customer and card details, and may not be enabled for every business. Customer attachment after creation is not supported for API card collections. Required scope: collection:create.

POSTapi-prod.blaaiz.com/api/external/collection

Authorization

oauth2ClientCredentials collection:create
AuthorizationBearer <token>

Use your OAuth client credentials to obtain a short-lived Bearer token from POST /oauth/token.

In: header

Scope: collection:create

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

Initiate a collection
curl --request POST \  --url 'https://example.com/api/external/collection' \  --header 'Content-Type: application/json' \  --data '{  "method": "card",  "amount": 50000,  "wallet_id": "wallet_123",  "customer_id": "customer_123",  "card_holder_name": "John Doe",  "card_number": "4242424242424242",  "expiry": "12/30",  "cvc": "123",  "phone": "+2348012345678",  "redirect_url": "https://merchant.example.com/payment/callback"}'
{  "message": "Collection initiated successfully.",  "transaction_id": "txn_987654322",  "url": "https://checkout.example.com/card-auth/xyz789"}