Add a card
POST/v2/card/init
Request to obtain a card registration number. Use the received {initId}
to call the card form at https://test.hipay.mn/v2/card/form/{initId}
. The card form will allow the user to enter their card details and confirm with an e-PIN code, after which the card will be added.
Request
Header Parameters
Send access_token as a Bearer token
- application/json
Body
required
The entityId (client_id) and client_secret will be provided when registering as a merchant.
Possible values: <= 35
Organization code
URI to receive payment response
Merchant's customer identifier
Алдааны мэдээлэл
Responses
- 200
Request Response
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Possible values: [0
, 1
]
Indicates whether the request was successful
Possible values: [SUCCESS
, UNSUCCESS
, USER_PAYMENT_VERIFICATION_FAILED
, RISK_REJECT
, REGULATION_RESTRICTION
, PROCESS_FAIL
]
Description of the request status
Card registration ID
Алдааны мэдээлэл
[
{
"code": 1,
"description": "SUCCESS, PROCESS_FAIL,UNSUCCESS etc.",
"initId": "26d99f5bb5",
"message": "invalid or missing entityId parameter"
}
]