Get User Payment Tokes
Uri: https://test-api.finerworks.com/v3/get_payment_tokens?payment_profile_id={payment_profile_id}
Method: GET
Get associated payment tokens of the user that can ONLY be used at FinerWorks for submitting orders.
Body
None.
Name | Description | Type | Additional information |
---|---|---|---|
payment_tokens |
Array of payment tokens |
array (payment_token) |
None. |
status |
Response status details |
response_status |
None. |
Example JSON Response
application/json, text/json
{ "payment_tokens": [ { "token": "sample string 1", "is_default": true, "associated_payment_method": "sample string 3" }, { "token": "sample string 1", "is_default": true, "associated_payment_method": "sample string 3" } ], "status": { "success": true, "status_code": 100, "message": "sample string 2", "debug": {}, "reference_id": "sample string 4" } }