Refill a card

Overview

URL

Production:
https://www.metaprisebanking.com/index/virtualcard/refill

Sandbox:
https://sandbox-merchant.metaprise.online/index/virtualcard/refill

REQUEST OBJECT

ObjectTypeRequiredDescription
bidString(32)yesBid is the account number generated by Passpay for the merchant. It is a string of 32 bits long to uniquely identify the merchant generated by the system.
out_trade_noString(32)yesIt is a string of number to uniquely distribute the id to a specific order, which the id is created by merchants.
card_numStringyesThe card number.
amountIntyesThe total amount of the order, in cents, and in some regional units is in yuan, as shown in the section "Supported Currencies".
currencyString(3)yesProvide the three-letter currency code (ISO 4217) of the card you needed, we only support USD now.
signStringyessignature

RESPOND OBJECT

Object

Sub Object

Type

Required

Description

result

String

yes

The result of response,

  1. success
  2. fail

error

String

no

error_code

String

no

data

bid

String(32)

yes

Bid is the account number generated by Metaprise for the merchant. It is a string of 32 bits long to uniquely identify the merchant generated by the system.

out_trade_no

String(32)

yes

It is a string of number to uniquely distribute the id to a specific order, which the id is created by merchants.

status

String

yes

received: Metaprise has received your apply card request.

fail: Your request has been declined by Metaprise or Channel.

Language
Click Try It! to start a request and see the response here!