Create Topup order

Create Top-up order

Request URL

POST https://card-api-sandbox.pagsmile.com/issuing/partner/create-topup

Request Header

NameTypeDescription

Content-Type*

string

application/json; chartset=UTF-8

Request Body

Refer to : common

Biz_data :

NameTypeDescription

order_no*

string

Order number

pay_amount*

string

Amount

pay_currency*

string

Currency,

refer to : currency

topup_currency*

string

Top-up Currency,

refer to : currency

reference

string

Reference

payment.account_num

string

Bank payer account num/IBAN

payment.bank_name

string

Payer Bank Name

payment.arrive_date

string

Expected time of receipt

Response

{
    "code": "10000",
    "msg": "Success",
    "data":{
            "order_id": "100009"
        },
    "total": 1,
    "random_key":"abssdddd2wdw==",
    "sign_type": "RSA",
    "app_id": "2017051914172236111"
}
NameTypeDescription

order_id

long

Order Id

Example

curl --location --request POST 'https://card-api-sandbox.pagsmile.com/issuing/partner/query-transactions' \
--header 'Authorization: Basic MTYyNTgyOTIxNDUzMTY2Mzg6UGFnc21pbGVfc2tfZDUwMWQ1ZGNkNTI5OGQ5N2MwNmUzYjI4YjA2OWZjZmY3NDU5ZjY2NzNiMjFjMTFlYTY3NDM5MDgzOTZkOTYxNQ==' \
--header 'Content-Type: application/json' \
--data-raw '{
    "app_id": "2017051914172236111",
    "partner_id": "900000000000001",
    "sub_partner_id": "",
    "timestamp": "2011-09-23 04:24:03",
    "format": "JSON",
    "version": "2.0",
    "random_key": "jJT3+PR9CSowcR2QOK5OzMjVmTSjGoectzYbO8lENHnboElE",
    "request_id": "F6bEd39c-EecF-C1a2-AFcb-bA9BAeC6",
    "sign_type": "RSA",
    "biz_data": {
        "start_date": "2023-09-10",
        "end_date": "2024-09-10"
    }
}'

Note: 201************11 is pagsmile's test app id for sandbox

Please use your own app_id when testing.

Last updated