Skip to main content
Version: Next

User (Merchant)

This endpoint returns user information(which will give you the merchant_id information)

Request

The header token is the token you received in the Token Authentication section

curl --request GET \
--url https://sandbox-api.paycruiser.com/user/acct-info/ \
--header 'Authorization: Token <YOUR_TOKEN>' \
--header 'Content-Type: application/json'

Response

The merchant_id is what you will need in order to make request to get user transactions list. The rest of the information is irrelevant for the card reader

{
"id": 1113,
"first_name": "John",
"last_name": "Doe ",
"business_name": "Paycruiser Test",
"domain_url": null,
"merchant_id": "PAYCRUISER-TEST",
"user_ethereum_handle": "",
"address": "56 WTC",
"city": "Los Angeles",
"is_active": true,
"zip_code": "55667",
"state": "CA",
"country": "USA",
"id_verification_ref": "inq_ZhZjAtgT8f4Q8oSCFLqhRK2D",
"user_ip_address": "71.195.41.42",
"government_id_verified": true,
"business_verified": true,
"mobile_verified": true,
"account_admins": [
"ID: 744, Merchant-ID: ACME-1 ",
"ID: 806, Merchant-ID: GMT ",
"ID: 994, Merchant-ID: CONTOSO-PHARMACY "
],
"related_submerchants": [
"ID: 1187, Merchant-ID: RESIDENCE-AFRICA ",
"ID: 654, Merchant-ID: T1M"
]
}