x-api-key: ********************{
"cardNumber": "4111111111111111",
"expiryMonth": "12",
"expiryYear": "2028",
"cvv": "123",
"billingAddress": "123 Main St, New York, NY 10001"
}curl --location '/v1/billings' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"cardNumber": "4111111111111111",
"expiryMonth": "12",
"expiryYear": "2028",
"cvv": "123",
"billingAddress": "123 Main St, New York, NY 10001"
}'{
"status": 201,
"message": "Billing details added successfully",
"data": {
"id": "bill_12345",
"last4": "1111",
"brand": "Visa",
"expiryMonth": "12",
"expiryYear": "2028",
"createdAt": "2025-10-04T15:00:00Z"
}
}