SX Digital Pay
  1. Merchant
SX Digital Pay
  • Getting started
  • Authentication
  • Webhook Validation
  • Webhook Delivery System
  • Recommended workflows
  • Merchant
    • Get merchant profile
      GET
  • PaymentLinks
    • Create single-use payment link
      POST
    • List single-use payment links
      GET
    • Get link details
      GET
  • Webhooks
    • Link created
    • Link status changed
    • Link paymentStatus changed
  1. Merchant

Get merchant profile

Sandbox
https://sandbox.sxdigitalpay.com/api/v1
Sandbox
https://sandbox.sxdigitalpay.com/api/v1
GET
https://sandbox.sxdigitalpay.com/api/v1
/merchant/profile
Returns the authenticated merchant's profile.

Request

Authorization
API Key
Add parameter in header
x-api-key
Example:
x-api-key: ********************
or

Responses

🟢200
application/json
Merchant profile returned successfully.
Headers

Body

🟠401Unauthorized
🟠403Forbidden
🟠404NotFound
🟠429TooManyRequests
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://sandbox.sxdigitalpay.com/api/v1/merchant/profile' \
--header 'x-api-key: <api-key>'
Response Response Example
200 - Success
{
    "success": true,
    "merchant": {
        "id": "01HZY9W7W4H7T2H7Q51T9G1C2N",
        "businessName": "SX Digital Pay",
        "status": "ACTIVE"
    }
}
Previous
Recommended workflows
Next
Create single-use payment link
Built with