Authentication
B2BINPAY API authentication guide with API keys, security protocols, and secure integration methods for crypto payment processing
Obtain token
Request
Name
Type
Required
Description
Request example
curl --location '{base_url}/token/' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "auth-token",
"attributes": {
"client_id": "<Your API key>",
"client_secret": "<Your API secret>"
}
}
}'import requests
url = '[base]/token/'
headers = {
'content-type': 'application/vnd.api+json',
}
data = {
'data': {
'type': 'auth-token',
'attributes': {
'client_id': '<Your API key>',
'client_secret': '<Your API secret>',
}
}
}
requests.post(url, headers=headers, json=data)Response
Name
Type
Description
Response example
Response codes
HTTP code
Description
Suggested action
Last updated
Was this helpful?

