Update Payee

Update Payee

Request URL

POST https://rem-api-sandbox.pagsmile.com/remittance/payment/update-payee

Request Header

Name
Type
Description

Content-Type*

string

application/json; charset=UTF-8

Request Body

Refer to : common

Biz_data

Name
Type
Description

payee_id*

long

Payee ID

merchant_id*

long

Merchant Id

receive_country*

string

Receive Country

receive_currency*

string

Receive currency

pay_type*

string

Pay Type

Refer to Pay Type

account_type*

integer

Account Type

Fixed value : 1

payee_type*

integer

Refer to: Payee Type

payee_values*

string(json)

Payee Values

Json string

For example:

"{\"payeeBankAccountNo\":\"123456789012\",\"payeeCompanyName\":\"test\",\"payeeBankAddress\":\"address\",\"payeeBankName\":\"bank\",\"payeeBankSwift\":\"12345678\",\"payeeProxyBankSwift\":\"23456789\",\"payeeProxyBankAddress\":\"proxy address\",\"payeeProxyBankName\":\"proxy name\"}"

remark

string

Remark

Response

{
    "code": "10000",
    "msg": "Success",
    "data":{
    },
    "random_key":"abssdddd2wdw==",
    "sign_type": "RSA",
    "app_id": "2017051914172236111"
}
Name
Type
Description

payee_id

long

Payee ID

Example


curl --location --request POST 'https://rem-api-sandbox.pagsmile.com/remittance/payment/update-payee' \
--header 'Content-Type: application/json' \
--data-raw '
{
    "partner_id": "000000000000001",
    "sub_partner_id": "",
    "app_id": "162051914172236138",
    "timestamp": "2011-09-23 04:24:03",
    "format": "JSON",
    "version": "2.0",
    "random_key": "jJT3+PR9CSowcR2QOK5OzMjVmTSjGoectzYbO8lENHnboElE",
    "request_id": "F6bEd39c-EecF-C1a2-AFcb-bA9BAeC8",
    "sign_type": "RSA",
    "biz_data":"jJT3+PR9CSowcR2QOK5OzMjVmTSjGoectzYbO8lENHnboElEjJT3+PR9CSowcR2QOK5OzMjVmTSjGoectzYbO8lENHnboElE"
}'

Note: 162************38 is pagsmile's test app id for sandbox

Please use your own app_id when testing.

Last updated