Get Token

get/v2/token

Request

  • Base URL
    https://api.sandbox.midtrans.com
  • URL
    https://api.sandbox.midtrans.com/v2/token
  • Auth
    none required

Query parameters

client_keystring required
card_numberstring required
card_cvvstring required
card_exp_monthstring required
card_exp_yearstring required
token_idstring
bank_one_time_tokenstring

Response

200

OR

Example response

{
  "status_code": "200",
  "status_message": "Credit card token is created as Token ID.",
  "token_id": "48111111-1114-80d5df78-be87-41e0-b4e2-1a0f4e2ea6ae",
  "hash": "48111111-1114-mami"
}

Changes

No recorded changes to this operation across all 1 revision of this API.