Tokenize a card with wallet credentials

Changed on
post/credit_cards/

Request

  • Base URL
    https://gateway.pmnts-sandbox.io/v1.0
  • URL
    https://gateway.pmnts-sandbox.io/v1.0/credit_cards/
  • Auth
    HTTP basic

Request body

Response

200

successfulboolean
testboolean

Example response

{
  "successful": true,
  "response": {
    "token": "3vcfuipz",
    "card_holder": "Mark Smith",
    "card_number": "424242XXXXXX4242",
    "card_expiry": "2018-05-31T23:59:59+10:00",
    "authorized": true,
    "wallet": {
      "name": {
        "first": "Mark",
        "last": "Smith"
      },
      "address": {
        "line_1": "1 Test Road",
        "city": "Sydney",
        "state": "NSW",
        "postcode": "2000",
        "phone": "0298985412"
      },
      "email": "email@example.com",
      "card_source_reference": "4495316156201826481"
    }
  }
}

Changes