Add billing address
The endpoint is crucial for adding a billing address to a card, enhancing security measures, validating the user's identity, and ensuring up-to-date cardholder information.
After confirming the phone number or after user authorization, you will receive an access_token. You need to enter this access_token in the
Token
field.
This endpoint is accessible for
KYC_0
level and higher.
The body parameters
Request Sample: cURL
At the time of sending the request, the curl command should be as follows:
curl --request POST \
--url https://api.vault.sandbox.testessential.net/v3/payin/card/15/billing-address \
--header 'accept: application/json' \
--header 'authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIwNTFhYTc3Mi0yNDk4LTQ0ZTEtODdmYi0zYzNhZDdlMTY1ODgiLCJleHAiOjE3MTI0MTM3NTksImlhdCI6MTcxMjMyNzM1OX0.8E4JD3vvmsVHTKlqe51IkBjlfxvTcaGVnY8YU8O9CMU' \
--header 'content-type: application/json' \
--data '
{
"address": "17 mellowood Ave",
"city": "Brampton ",
"countryCode": "CA",
"zip": "L6P2454"
}
'
After entering the phone number and password into the respective fields, you need to click the Try It!
button.
This action initiates the process of sending data to the server and receiving a response from the API using the provided credentials.
Response Example
200 OK status, indicating that the card's billing address has been added successfully.
OK
To obtain additional information about the RESPONSE
, you need to click on the Headers
button.
This will allow you to view the server response headers and gain a more detailed understanding of the data returned in response to your request.
Updated 7 months ago