Update Sender

Method and URL

PUT [BASE_URL]/xb/sender/:id

Request Params

Request body

{
    "name": "Indonesah Newjeans",
    "countryCode": "ID",
    "state": "Jawa Barat",
    "city": "Bandung",
    "address": "Jl Street",
    "postcode": "12345",
    "accountType": "Individual",
    "dob": "1990-12-01", //conditional, only for individual
    "bankAccountNumber": "98723293", //conditional, only for beneficiary country Korea
    "identificationType": "Passport",
    "identificationNumber": "X123457",
    "contactCountryCode": "+62",
    "contactNumber": "123134123",
    "sourceOfIncome": "Salary"
}

Response

Response Body

{
    "code": "00",
    "message": "Success",
    "data": {
        "uuid": "da9fb196-3f8f-4bb7-a838-c50c40d13581",
        "name": "Indonesah Newjeans",
        "countryCode": "ID",
        "state": "Jawa Barat",
        "city": "Bandung",
        "address": "Jl Street",
        "postcode": "12345",
        "accountType": "Individual",
        "identificationType": "Passport",
        "identificationNumber": "X123457",
        "bankAccountNumber": "98723293",
        "dob": "1990-12-01",
        "contactCountryCode": "+62",
        "contactNumber": "123134123",
        "sourceOfIncome": "Salary",
        "createdAt": "2024-11-06T03:10:25Z"
    }
}

Sender Object

Parameter
Data Type
Requirement
Description

uuid

String Generated

M

Object unique identifier

merchantId

String Generated

M

Merchant unique identifier

referenceId

String

M

Merchant remitter reference ID

name

String

M

Remitter name ^[A-Za-z0-9 -]{1,40}$

Max 40

Can only contain the special characters

countryCode

Enum

M

Remitter two-letter country code based on ISO 3166-1

state

String

M

Remitter state Length: Max 255

city

String

M

Remitter city Length: Max 35

address

String

M

Remitter address Length: Max 200

postcode

Number

M

Remitter postcode ^[a-zA-Z0-9\s\-]{0,16}$

Max 16

Can only contain the special characters -

accountType

Enum

M

Remitter account type (individual or company)

Value:

Should be either

  • Individual

  • Company

bankAccountNumber

String

C Required if beneficiary country code is KR

Remitter bank name

Length: Max 50

nationality

Enum

M

Remitter nationality in two-letter country code based on ISO 3166-1

Value: Can be the same as remitterCountryCode

identificationType

Enum

M

Remitter ID type according to account type

Value:

If Individual, should be either

  • Kartu Tanda Penduduk

  • Passport

If Company, should be either

  • Business Registration Number

  • ACRA

  • Travel Agent License Number

  • ABN

  • ACN

  • ARBN

identificationNumber

String

M

Remitter ID number based on the ID type selected ^[A-Za-z0-9\s-.]{1,30}$

Max 30

Can only contain the special characters

dob

String

C

Remitter date of birth

Required if account type is Individual

Format: YYYY/MM/DD

contactCountryCode

String

M

Remitter contact country code Length: Max 5

contactNumber

String

M

Remitter contact number

^[0-9+/-\\s]{0,17}$

Length: Max 17

sourceOfIncome

Enum

M

Remitter source of income

Value:

Should be either

  • Salary

  • Personal Savings

  • Personal Wealth

  • Retirement Funds

  • Business Owner

  • Shareholder

  • Loan Facility

  • Personal Account

  • Corporate Account

Last updated