Connectivity

This page explains how to connect to our Chargeback API gateway.

Connecting to the Chargeback API means you can automate submissions of your chargebacks.

IP/Host details

ENVIRONMENTSERVICEIP/HOSTPORTURI
SIT/UATFirst chargebackchargebacks.test.tutuka.cloud443https://chargebacks.test.tutuka.cloud/client/
PRODFirst chargebackchargebacks.prod.tutuka.cloud443https://chargebacks.prod.tutuka.cloud/client/

API Gateway token

Below are the default specifications for the token bearer details for authentication as reflected in the First Chargeback example here.

HTTP MethodPOST
URL+URI (SIT/UAT)https://chargebacks.test.tutuka.cloud/token/generate
URL+URI (PROD)https://chargebacks.prod.tutuka.cloud/token/generate
HTTP HeadersContent-Type = application/x-www-form-urlencoded
Query String ParametersNone
FormatJSON
AuthenticationBasic BASE64_ENCODED_CREDENTIALS(user:pass)
RequestNone
Success Response Code200
Success Response{; "access_token": "ACCESS_TOKEN",; "expires_in": TIME_IN_SECONDS,; "token_type": "Bearer";}
Error Response Code400
Error Response{; "responseCode": 0",; "responseMessage": "invalid_client|unauthorized_client";}
Response MessagesInvalid_client - Client authentication failed.; Unauthorized_client - client is not allowed to generate or refresh tokens.

Other response codes

Further response codes and details can be found here.