Add an address
curl --request POST \
--url https://api.simplepay.mx/v1/customer-hub/customers/{customer_id}/addresses \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://api.simplepay.mx/v1/customer-hub/customers/{customer_id}/addresses', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.simplepay.mx/v1/customer-hub/customers/{customer_id}/addresses"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Add an address
POST
/
v1
/
customer-hub
/
customers
/
{customer_id}
/
addresses
Add an address
curl --request POST \
--url https://api.simplepay.mx/v1/customer-hub/customers/{customer_id}/addresses \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://api.simplepay.mx/v1/customer-hub/customers/{customer_id}/addresses', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.simplepay.mx/v1/customer-hub/customers/{customer_id}/addresses"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Autorizaciones
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Cuerpo
application/json
The body is of type object.
Respuesta
2XX
Forwarded to the owning origin Worker.
Última modificación el 1 de septiembre de 2026