cURL
curl --request POST \ --url https://api.henrylabs.ai/v0/wallet/cards/collect \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --header 'x-user-id: <api-key>' \ --data '{ "card_number": "1234567890123456", "card_exp": "01/25", "card_holder": "John Doe", "email": "john.doe@example.com", "phone_number": "+1234567890", "billing_address": "350 5th Ave", "zip_code": "12345", "card_cvv": "123", "city": "New York", "state": "NY", "last4_digits": "1234", "is_default": false }'
{ "success": true, "status": "<string>", "message": "<string>", "data": { "card_id": "<string>" }, "request_id": "<string>", "id": "<string>" }
Store a user’s payment card information securely
Card collected successfully
The response is of type object.
object