Query Collections

Query Collection Transactions

Request URL

POST /remittance/collection/query-collections

Request Body

Refer to : common

Biz_data

Name
Type
Description

merchant_id*

long

Merchant ID

collection_account_no

string

Collection Account Number

collection_unique_no

string

Collection Unique Number

start_date*

string

Begin time

Format: yyyy-MM-dd HH:mm:ss

end_date*

string

End time Format: yyyy-MM-dd HH:mm:ss

page_num

integer

Page Number

Default value:1

page_size

integer

Page Size

Default value:10,

Max value is 30

Response

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

collection_id*

long

Collection ID

merchant_id*

long

Merchant ID

material_id

long

Material ID

collection_account_no*

string

Collection Account Number

receive_amount*

string

Receive Amount

receive_currency*

string

Receive Currency

fee

string

Service Fee

arrived_at*

string

Arrived At

Format:yyyy-MM-dd HH:mm:ss

collection_unique_no*

string

Collection Unique Number

Globally unique.

status*

integer

Status

Refer to Status

comments

string

Reason description

sender.name

string

Sender Name

sender.account_no

string

Sender Account Num

sender.account_type

string

Sender Account Type

sender.descriptor

string

Sender Descriptor

sender.id_type

string

Sender ID Type

sender.id_number

string

Sender ID Number

transaction_id

long

Transaction ID

Example


curl --location --request POST 'https://rem-api-sandbox.pagsmile.com/remittance/collection/query-collections' \
--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?