Payment Tokens .: Get

API Reference / v14

Get the Current User’s Payment Token

This endpoint allows you to retrieve a user’s active payment token to display in customer-facing apps.

Request Endpoint

GET /v14/payment_token

Authorization Required – User Token in Header

Authorization: token 123456-75489120749...

cURL Example

curl -X GET -H Accept:application/json -H Content-Type:application/json -H "Authorization:token 123456-75489120749..."

Example Response

HTTP/1.1 200 OK

  "payment_token": {
    "id": 123,
    "data": "3c98b5ed8eeMaeda6964928e1a51f96774..."


User is ineligible to pay with LevelUp

HTTP/1.1 404 Not Found

    "error": {
      "code": "no_credit_card",
      "message": "You have no cards on file. Please add a valid card to pay.",
      "object": "payment_token",
      "property": "base"

The error code and message will vary based on the reason for ineligibility, such as no cards on file, excessive chargebacks, etc.