Skip to main content

Fetch Token

To fetch an individual token, you only need to provide the token’s unique ID.

Curl Request
curl -X GET \
-u sk_test_MrtwozLJAuFmLKWWSaRaoaLX: \
"https://api.moyasar.com/v1/tokens/token_x6okRgkZJrhgDHyqJ9zztW2X1k"

Responses

{
"id": "token_x6okRgkZJrhgDHyqJ9zztW2X1k",
"status": "initiated",
"brand": "visa",
"funding": "credit",
"country": "US",
"month": "09",
"year": "2027",
"name": "Mohammed Ali",
"last_four": "1111",
"metadata": null,
"message": null,
"verification_url": null,
"created_at": "2023-08-23T12:12:55.857Z",
"updated_at": "2023-08-23T12:12:55.857Z"
}