Credential inquiry

The address of the request

The name of the environment
URL

SandBox

POST https://api.supefina.tech/api/supefina/transactions/search-voucher

Formal environment

POST https://api.supefina.net/api/supefina/transactions/search-voucher

Request parameters

Key
Value

Content-Type

application/json

Request body

Variable name
Required
type
description

merId

Yes

String

Merchant ID Merchant ID acquisition path: Supefina Merchant Background - Merchant Management - Basic Information - Merchant ID

countryId

Yes

String

Country number Reference: Dictionary table - country number

Mexico: MEX

merOrderNo

Yes

String

Merchant order number

supefinaOrderId

Yes

String

Supefina order number

nonceStr

Yes

String

Random strings The length cannot exceed 32 bits

Sample request

{
    "merId":"8501088932494545",
    "countryId":"MEX",
    "merOrderNo":"luo001",
    "supefinaOrderId":"",
    "sign":"R9d1Enp0XUS5YMwv0EP$blm9mWTWwyoB",
    "nonceStr":"202404111"
}

Response parameters

Variable name
type
description

code

String

Response coding

For details, see Response Status Code

msg

String

Response Information

data

Object

Response data

multiple

Boolean

Whether there are multiple pieces of data

Yes:true

No:false

target

Array

Array of targets

voucher

String

Credential link

One or more

Sample response

{
    "code": 200,
    "msg": "success",
    "data": {
        "multiple": true,
        "target": [
            {
                "voucher": "https://supefina-official.s3.us-west-2.amazonaws.com/PaymentVoucher-dev/20240429/CEP2024042903020091607b0dee5a44d.pdf"
            },
            {
                "voucher": "https://supefina-official.s3.us-west-2.amazonaws.com/PaymentVoucher-dev/20240429/CEP2024042903020092c2c0482413240.pdf"
            },
            {
                "voucher": "https://supefina-official.s3.us-west-2.amazonaws.com/PaymentVoucher-dev/20240429/CEP2024042903020095ff4592a799048.pdf"
            },
            {
                "voucher": "https://supefina-official.s3.us-west-2.amazonaws.com/PaymentVoucher-dev/20240429/CEP20240429030200971c3b543215940.pdf"
            },
            {
                "voucher": "https://supefina-official.s3.us-west-2.amazonaws.com/PaymentVoucher-dev/20240429/CEP202404290302009864b0e718d7249.pdf"
            },
            {
                "voucher": "https://supefina-official.s3.us-west-2.amazonaws.com/PaymentVoucher-dev/20240429/CEP202404290302009ea51a814a15e4f.pdf"
            }
        ]
    }
}

Última actualización