Authentication
You will need the access token as the header of almost all the requests made via our API. To receive it, you will need to make a credential request using the information we sent you regarding your credentials. The generated token will be valid for 24 hours.
You must replace your-jwt-token with your generated JWT Token.
This endpoint has a rate limit of 3 requests per 30 seconds, so ensure to re-use the generated token whenever possible.
Authorization: Bearer your-jwt-token
Sign-in
To authenticate, use this code:
curl -X POST "https://api.facilitapay.com/api/v1/sign_in" \
-H "Content-Type: application/json" \
-d '{
"user": {
"username": "email registered",
"password": "password"
}
}'
Make sure to replace
usernameandpasswordwith your API keys given on the onboarding process.
/sign_inBody Parameters
| Parameter | Description | Type | Required |
|---|---|---|---|
user | An object containing all the required values | object | true |
username | API username | string | true |
password | API password | string | true |
Demonstration
After signing in from this form, all sample requests will be updated with the generated token.
This feature also enables getting the list of pay-in bank accounts. See Real Bank Accounts for more details.