RemitPro - API International Remittance
  1. Authentication
RemitPro - API International Remittance
  • Getting Strated Guide
    • 1. Overview
    • 2. High Level Flow
    • 3. Supported Corridors
    • 4. Authorization & Scope
    • 5. Handle Error
    • 6. Signature
    • 7. API Host
  • Test Scenario
  • API Reference (V1)
    • Authentication
      • Generate Token
        POST
      • Refresh Token
        POST
    • Master Data
      • Onboarding
        • Id Type Personal
        • Id Type Business
  1. Authentication

Generate Token

Developing
POST
/api/v1/partner/oauth/generate-token
To interact with RemitPro's API, you must first obtain an Access Token through the authentication process. This token is required to authorize requests to protected endpoints and ensures secure communication between your system and the API.
If the Access Token has expired, send the Refresh Token to the /api/v1/partner/oauth/refresh-token endpoint to obtain a new Access Token.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api-gateway-dev.remitpro.co.id/api/v1/partner/oauth/generate-token' \
--header 'Authorization: Basic Basic WGR3cXQ4OWhZWEVnaWZ6MFpNcExYUTpRaGE1R1U2U0t6eXFsYjlhWVhoU2J3' \
--header 'Content-Type: application/json' \
--data-raw '{
    "grant_type": "client_credentials"
}'
Response Response Example
200 - Response Success
{
    "status": 200,
    "serviceStatus": "2001900",
    "titleCode": "success",
    "title": "Success",
    "detail": "Processed successfully",
    "responseTime": "2025-08-21T10:22:49.556+00:00",
    "data": {
        "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3NTU3ODI1NjksInN1YiI6IjQ0MmUwMTkyLTdkY2QtNDFmYi05Y2E1LWJjYWIyZmMwZWY3OSIsInR5cGUiOiJhY2Nlc3MifQ.NIzyYnHgHYfQvx0vdZQxNh_IQN6YKIxxyJGv4YXUugc",
        "refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3NTU4MTQ5NjksInN1YiI6IjQ0MmUwMTkyLTdkY2QtNDFmYi05Y2E1LWJjYWIyZmMwZWY3OSIsInR5cGUiOiJyZWZyZXNoIn0.xCiFWkrhp1xjSIfPXbwjUEfmwhF3TgjnOBzPAZS3XnE",
        "expiresToken": "3600",
        "expiresRefreshToken": "0",
        "tokenType": "Bearer"
    }
}

Request

Header Params

Body Params application/json

Examples

Responses

🟢200Success
application/json
OK
Body

🟠400Bad Request
🟠401Unauthorized
Modified at 2025-08-27 12:29:32
Previous
7. API Host
Next
Refresh Token
Built with