Apply a versioned configuration profile to a Location
curl --request POST \
--url https://api.simplepay.mx/v1/in-person/locations/{id}/configuration \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"profile_key": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({profile_key: '<string>'})
};
fetch('https://api.simplepay.mx/v1/in-person/locations/{id}/configuration', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.simplepay.mx/v1/in-person/locations/{id}/configuration"
payload = { "profile_key": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Apply a versioned configuration profile to a Location
POST
/
v1
/
in-person
/
locations
/
{id}
/
configuration
Apply a versioned configuration profile to a Location
curl --request POST \
--url https://api.simplepay.mx/v1/in-person/locations/{id}/configuration \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"profile_key": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({profile_key: '<string>'})
};
fetch('https://api.simplepay.mx/v1/in-person/locations/{id}/configuration', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.simplepay.mx/v1/in-person/locations/{id}/configuration"
payload = { "profile_key": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
application/json
Pattern:
^[a-z][a-z0-9_-]{2,63}$Response
200
Location with applied configuration state.
Last modified on September 1, 2026