Skip to content

Payment Authorize

EDC Payment Gateway will request to this operation to get access token before request to other operations.

Implemented by: Partner bank · Called by: EDC Payment Gateway

Operation

Description Value
URL https://{domain}/security/token
Method POST

Headers

Key Value Remark
Accept application/json
Content-Type application/json

Request Payload

Field Type Required Remark
username string Yes Client username
password string Yes Client password

Example Request Payload

{
    "username": "EDC",
    "password": "pa$$w0rt"
}

Response Payload

Field Type Remark
code string Response code
token string Access token

Example Response Payload

{
    "code": "000",
    "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJleHAiOjE2Mjk5MDEyMTUsImp0aSI"
}