E-Money Account Linkage
  • Introduction
  • API SPECIFICATION
    • Functional Requirement
    • Authentication
    • Merchant Resource
      • Merchant Registration
        • Merchant Registration Request
        • Merchant Registration Complete
      • Merchant Transfer to Other Account
        • Inquiry Merchant Transfer to Other Account
        • Payment Merchant Transfer to Other Account
      • Merchant Transfer To Bank
        • Inquiry Merchant Transfer Out to Bank
        • Payment Merchant Transfer Out to Bank
      • Merchant Disbursement To Bank
        • Inquiry Merchant Disbursement to Bank
        • Payment Merchant Disbursement to Bank
      • Merchant Verify User Name
      • Resend Registration SMS Token
      • Resend Registration E-Mail
      • Check Balance & Status
      • Check History
      • Change Password for Merchant Account
      • Change E-Mail
      • Change Phone Number
        • Change Phone Number Request
        • Change Phone Number Response
    • Customer Resource
      • Customer Registration
      • Check Balance & Status
      • Check History
      • Customer Upgrade
      • Customer Transaction to Other Account
        • Inquiry Customer Transfer to Other Account
        • Request Customer Transfer to Other Account
        • Confirm Customer Transfer to Other Account
      • Customer Transfer to Bank
        • Inquiry Transfer to Bank Account
        • Payment Transfer to Bank Account
      • Customer Disburse To Bank
        • Inquiry Disbursement to Bank Account
        • Payment Disbursement to Bank Account
      • QR / QRIS Feature
        • QR Internal Feature
          • QR Internal Inquiry
          • QR Internal Payment
        • Qris Feature
          • Qris Customer Inquiry
          • Qris Customer Payment
          • Qris Customer Check Status
      • Balance Limitation Check
    • Log Out
    • Transaction Code
    • Response Code
    • Get List Bank
      • Get List Bank Transfer Out
      • Get List Bank Disbursement
      • Get List Bank BI-Fast
    • List Bank
    • FAQ
Powered by GitBook
On this page
  • Customer Registration
  • 1. Registration Request
  • Description
  • 2. Complete Registration
  • Description
  • 3. Verify Username
  • Description
  • 4. Verify Email
  • Description
  • 5. Resend Registration SMS Token
  • Description
  • 6. Resend Registration Email
  • Description
  1. API SPECIFICATION
  2. Customer Resource

Customer Registration

This service are collection of api which will use customer accounts

Customer Registration

This service is used to initiate customer registration process by client host. After this service has been performed, customer will receive authorization email and SMS token to confirm the registration process.

1. Registration Request

Customer input customer data from mobile apps and mobile backend will be forward the request to INVAS. System will generate token and send email containing complete registration and send SMS token to customer.

Canonical Path

/b2b/customer/register

Method

POST

Authorization

Bearer <host_access_token>

Query Param

-

Content-Type

application/json

Content

{
    "phone": <String, not null>, 
    "name": <String, not null>, 
    "birthDate": <Date, not null>, 
    "birthPlace": <String, not null>, 
    "email": <String>,
    "gender": <Boolean, not null>, 
    "countryId": <String, not null>, 
    "sourceId": <String>,
    "accountGroupId": <String, not null>
}   
// Sample Code:
{
    "phone": “081234567890”,
    "name": “Septian Cahyo”, 
    "birthDate": “1990-12-31”, 
    "birthPlace": “Jakarta”, 
    "email": “email@gmail.com”, 
    "gender": true, 
    "countryId":”ID”, 
    "sourceId": “01011”,
    "accountGroupId": “01”
}

Content-Type

application/json

Content

{
"expiryMinutes": 10,
"expiryTimestamp": "2020-01-15 16:03:56",
"requestTimestamp": "2020-01-15 15:53:56",
"phone": "08950944791",
"active": true, 
"tokenPrefix": "UWA",
"id": "1deb0955ba6448ecafecf2d8b457263b", 
"tokenType": "REGISTRATION",
"attempt": 1,
"username": "08950944791"
“accountGroupId:”01”
}

Description

Field

Description

expiryMinutes

Expiry Time for Token (in minutes)

expiryTimestamp

Expiry Time for Token

requestTimestamp

Request Time

phone

Phone number

active

Token activation status

tokenPrefix

Token Prefix

id

Registration Request Id

tokenType

Token Type

attempt

Attempt

username

Username

accountGroipId

Account Group ID

2. Complete Registration

This api used to complete the registration process

Canonical Path

/b2b/customer/register/confirm

Method

POST

Authorization

Bearer <host_access_token>

Query Param

-

Content-Type

application/json

Content

{
    "username": <String, not null>, 
    "password": <String, not null>, 
    "token": <String>
}

Content-Type

-

Content

-

Description

Field

Description

username

Customer Username : phone number

password

Customer Password (must be hashed by using MD5 UPPERCASE)

token

Registration Token (using prefix, example = UhY1234)

3. Verify Username

This service is used to verify whether a username has already used or not

Canonical Path

/b2b/customer/auth/verifyUsername

Method

GET

Authorization

Bearer <host_access_token>

Query Param

§ username

Content-Type

-

Content

-

Content-Type

application/json

Content

-

{
    “exists”: <Boolean, not null>
}

Description

Field

Description

username

Customer username : Phone Number

exists

Will be true if username already exists and false otherwise

4. Verify Email

This service is used to verify whether a username has already used or not

Canonical Path

/b2b/customer/auth/verifyEmail

Method

GET

Authorization

Bearer <host_access_token>

Query Param

§ email

Content-Type

-

Content

-

Content-Type

application/json

Content

{

“exists”: <Boolean, not null>

}

Description

Field

Description

username

Customer username : Phone Number

exists

Will be true if username already exists and false otherwise

5. Resend Registration SMS Token

This service used to resend customer registration SMS token.

Canonical Path

/b2b/customer/resend/registration/sms

Method

POST

Authorization

Bearer <host_access_token>

Query Param

-

Content-Type

application/json

Content

{
    "username": <String, not null>, 
    "phone": <String, not null>
}

Content-Type

-

Content

-

Description

Field

Description

username

Username merchant: phone number

phone

Merchant phone number

6. Resend Registration Email

This service used to resend customer registration email.

Canonical Path

/b2b/customer/resend/registration/email

Method

POST

Authorization

Bearer <host_access_token>

Query Param

-

Content-Type

application/json

Content

{
    "username": <String, not null>, 
    "phone": <String, not null>
}

Content-Type

-

Content

-

Description

Field

Description

username

Username merchant: phone number

phone

Merchant phone number

PreviousCustomer ResourceNextCheck Balance & Status

Last updated 2 years ago

Canonical Path

/b2b/customer/auth/verifyEmail

Method

GET

Authorization

Bearer <host_access_token>

Query Param

§ email

Content-Type

-

Content

Canonical Path

/b2b/customer/auth/verifyEmail

Method

GET

Authorization

Bearer <host_access_token>

Query Param

§ email

Content-Type

-

Content

-

-