Faspay
Search…
Access Token
Access_token is an a string token that identify the user of the API. This token is required each time an application call API. Access_token request must be made with following specification :
    Relative URL : /account/api/tokens
    Request URL Dev : https://dev2.faspay.co.id/account/api/tokens
    Request URL Prod : https://sendme.faspay.co.id/account/api/tokens
And also need to create signature and use request header.
Request
Sample Response
No
Parameter
Type
length
Mandatory/Optional
Description
1
Access_token
AN
M
Response access token from faspay
2
Expired_in
N
M
Expire time (in second)
3
Status
N
1
M
Status=2
4
Message
AN
M
Status description
5
Response_code
N
2
M
Response = 00
6
Response_desc
AN
32
M
Description of response from bank
1
2
{
3
"access_token": "rlUdeRhExemf/Fj1srv3GIBhN76boY7+fRWIpdkVDsf9/Xv0f5j8f8VnX1HB98gZcIPtkxSggceveNaM/q41QsEepCo459/VwfKaQlbZZvIBPY4z8d9yMyJKVRvSTUz30oiFhDOaAOMChhqWCIWWoSC9twG+WB5LozrazkkWUkqJcvE0uKedBXHHrPZASi1zj/pHDfaAmLLOyuqaHGuE64DnMA86CznFqy/wVEuJWG1u5BcJQhLmzi1fYtQgwLQhqCoU8dNvD2Ydir7Wg1dh6u04MS6XwiN41N+NRbq0+8YcfrH4p5QdjZgCRM5kjWb28oj7e5ehubHwd03zlyb7QkEBFyOW1rfJhwvlfsp83Po4E9+mRVyxP57NmtumMaH+9JtVzluJGtbYu6cXTDmeGjOBI2+IyjA8Wf4c+XVQJY7r1NRX7E1wjJHh6t0OI41pvcNCrMkunDX3bN3SNPC3eHF7SuK6A6uUlcy83npOKYYcWKQpa8DgySXT5TBNyx3PjcPwutilU4+qyhsBjdZP+dE4vcgoPvRK5eAcraU7+YrfD2GdvtobGiGgs2NcmoINV+6dI+x4iBHqbnQhD721C9x1RxijmghAv6Jvxhz1MqC7Tw5hqB9vpaMhK1Nx2qHmEzrZOf2EsfrRkvDLznRxkWQ1B+8n5XbocifLeyxk2Gc=",
4
"expired_in": "36000",
5
"status": "2",
6
"message": "Success",
7
"response_code": "00",
8
"response_desc": "success"
9
}
Copied!
Last modified 11mo ago
Copy link