Skip to main content

Add a card

POST 

/v2/card/init

Request to obtain a card registration number.

Using the {initId} value received from the request, call the form at https://test.hipay.mn/v2/card/form/\{initId\}. The Hipay card addition window will appear, allowing card information to be entered and verified with an e-PIN code. After the card is successfully added, the {cardId} will be passed to the redirect_uri. Additionally, the {initId} can be used to call a card inquiry request.

Request

Header Parameters

    Authorization stringrequired

    Send access_token as a Bearer token

Body

required

The entityId (client_id) and client_secret will be provided when registering as a merchant.

    entityId stringrequired

    Possible values: <= 35

    Organization code

    redirect_uri stringrequired

    URI to receive payment response

    customer_id string

    Merchant's customer identifier

    message string

    Алдааны мэдээлэл

Responses

Request Response

Schema

  • Array [

  • code string

    Possible values: [0, 1]

    Indicates whether the request was successful

    description string

    Possible values: [SUCCESS, UNSUCCESS, USER_PAYMENT_VERIFICATION_FAILED, RISK_REJECT, REGULATION_RESTRICTION, PROCESS_FAIL]

    Description of the request status

    initId string

    Card registration ID

    message string

    Алдааны мэдээлэл

  • ]

Loading...