Card
create and query order information .
Every request must contain common parameters
Demo code can be found at Github
Apply Card
issue a card under a specific user.
POST
https://api.musepay.io/v1/card/apply
Only one card can be issued under a single card product.
When issuing a card, the productId must be specified and determines the card product to issue. The card product determines the card type, card face, card features, benefits, interest rates, capabilities, etc.
Request Body
Name | Type | Description |
---|---|---|
user_id* | String | The user id is an account that holds the funds, balances, and transactions that are used to make purchases with the card. |
request_id* | String | External identifier for the issuing request. |
card_product_id* | String | Product ID of the card to be issued |
card_level* | String | the card level of the card product to apply |
phone_number* | String | Mobile phone number of card holder. This phone number should be pre-verified by the partner. |
phone_area_code* | String | Country calling codes |
Query Apply Result
query Card Apply Result
POST
https://api.musepay.io/v1/card/apply-result
Request Body
Name | Type | Description |
---|---|---|
request_id* | String | External identifier for the issuing request. |
apply_id | String | The apply ID of the card issuing |
user_id* | String | The unique id in musewallet |
Get Card
get Card
POST
https://api.musepay.io/v1/card/query
Request Body
Name | Type | Description |
---|---|---|
card_id* | String | The card ID of the card issued |
user_id* | String | The unique id in musewallet |
Activate Card
activate card
POST
https://api.musepay.io/v1/card/activate
Request Body
Name | Type | Description |
---|---|---|
card_id* | String | The card ID of the card issued |
user_id* | String | The unique id in musewallet |
Update Phone
update phone
POST
https://api.musepay.io/v1/card/update-phone
Request Body
Name | Type | Description |
---|---|---|
card_id* | String | The card ID of the card issued |
user_id* | String | The unique id in musewallet |
phone_number* | String | New phone number for the card |
phone_area_code* | String | countryCode |
Lock Card
lock card
POST
https://api.musepay.io/v1/card/lock
Request Body
Name | Type | Description |
---|---|---|
card_id* | String | The card ID of the card issued |
user_id* | String | The unique id in musewallet |
UnLock Card
unlock card
POST
https://api.musepay.io/v1/card/unlock
Request Body
Name | Type | Description |
---|---|---|
card_id* | String | The card ID of the card issued |
user_id* | String | The unique id in musewallet |
Get Card Sensitive Info
get Card sensitive info
POST
https://api.musepay.io/v1/card/card-sensitive-info
Generate a short-lived one-time URL for retrieving sensitive information for a card. The returned URL must be consumed directly by the client facing application, through the client's IP address provided in the retrieval request.
The API Response of the callback URL will contain the following payload:
{
"card_id": "akflf51b3",
"card_number": "4242424212341234",
"expiry_month": "11",
"expiry_year": "2028",
"security_code": "001"
}
Request Body
Name | Type | Description |
---|---|---|
card_id* | String | The card ID of the card issued |
ip_address* | String | Client IP address |
user_id* | String | The unique id in musewallet |
Activate Physical Card
activate physical card
POST
https://api.musepay.io/v1/card/activate-physical
Request Body
Name | Type | Description |
---|---|---|
card_id* | String | The card ID of the card issued |
user_id* | String | The unique id in musewallet |
Change Card PIN
change Card PIN
POST
https://api.musepay.io/v1/card/change-pin
Request Body
Name | Type | Description |
---|---|---|
card_id* | String | The card ID of the card issued |
card_pin* | String | New PIN, numeric pin, 4-6 digits, must encrypted by platform public key |
user_id* | String | The unique id in musewallet |
Last updated