How to get the token
Your access token authorizes you to use the SmartFastPay REST API server. To call a REST API in your integration, exchange your client ID and secret for an access token in an OAuth 2.0 token call.
curl -v --location --request POST 'https://sandbox.smartfastpay.com/transaction/checkout' \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <Access-Token>"curl -v --location --request POST 'https://sandbox.smartfastpay.com/oauth2/token' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic <Access-Credentials>'{
"requestId": "a2435636-5f69-447d-8e22-8382f62ef7dd",
"data": {
"access_token": "<Access-Token>",
"token_type": "Bearer",
"expires_in": 3600
}
}curl -v --location --request GET 'https://sandbox.smartfastpay.com/transactions/' \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <Access-Token>"