Query Collection Accounts
Query Collection Accounts
Request URL
POST /remittance/collection/query-collection-accounts
Request Body
Refer to : common
Biz_data
merchant_id*
long
Merchant ID
currency
string
Currency
account_no
string
Account number
start_date*
string
Begin time
Format: yyyy-MM-dd HH:mm:ss
end_date*
string
End time format: yyyy-MM-dd HH:mm:s
page_num
int
Default value:1
page_size
int
Default value:10,
Max value is 30
Response
{
"code": "10000",
"msg": "Success",
"data":[
{
}
],
"total":4
"random_key":"abssdddd2wdw==",
"sign_type": "RSA",
"app_id": "2017051914172236111"
}{
"code": "40002",
"msg": "Business Failed",
"sub_code": "invalid-signature",
"sub_msg": "invalid signature"
}merchant_id*
long
Merchant Id
payment_type*
integer
Payment type
account_name*
string
Account Name
account_label
string
Account Alias
account_no*
string
Account Number/IBAN
account_no_type*
integer
Account Number Type
Enum:
1 - account_number
2- iban
3 -pix_key
alternate_no
string
Other Collection Number
alternate_no_type
integer
Other collection number type
For example : pix key(BR)
Enum:
3 -pix_key
branch_code
string
branch code
bank_name
string
Bank Name
bank_address
string
Bank Address
bank_country
string
Bank country
routing_code
string
Routing Code
routing_code_type
string
Routing Code Type
Enum:
bic_swift
ispb aba
bsb_code
cnaps
ifsc
institution_no
sort_code
currency*
string
Currency
As a 3-letter ISO currency code
created_at*
string
Created At
Example
curl --location --request POST 'https://rem-api-sandbox.pagsmile.com/remittance/collection/query-accounts' \
--header 'Content-Type: application/json' \
--data-raw '
{
"partner_id": "000000000000001",
"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
Was this helpful?