POST
/
wallet
/
card-collect-modal
Initiate card collection modal
curl --request POST \
  --url https://api.sandbox.henrylabs.ai/v0/wallet/card-collect-modal \
  --header 'x-api-key: <api-key>' \
  --header 'x-user-id: <x-user-id>'
{
  "success": true,
  "status": "<string>",
  "message": "<string>",
  "data": {
    "modal_url": "<string>"
  }
}

Overview

This endpoint returns a modal URL that allows users to securely enter their payment card information through a PCI-compliant interface. This approach ensures that sensitive card data never touches your servers, maintaining the highest level of security.

Authorizations

x-api-key
string
header
required

Headers

x-user-id
string
required

Response

200
application/json

Card collection modal initiated successfully

The response is of type object.