The MyXspend API enables clients to process payments on behalf of their users. This guide outlines the key steps required to integrate with the MyXSpend platform and successfully process payments.

Steps to Process Payments

Step 1: Merchant Registration

Sign up as a merchant at MyXspend Dashboard. This step creates an account for your organization.

Step 2: KYB Verification

MyXspend will complete the Know Your Business (KYB) verification process for your account. This step is mandatory before processing payments.

Step 3: Configure PostBack URL

Add your PostBack URL in the MyXspend portal. This ensures MyXspend sends transaction status updates to your system upon payment confirmation. Refer to PostBack URL Documentation for detailed integration steps.

Step 4: Authenticate API Requests

Use the /auth/login` endpoint to authenticate your API calls. Upon successful authentication, this endpoint returns a Bearer Token, which must be included in all subsequent requests along with the API KEY and Company Id in the Response Headers

Step 5: Process a Payment

Use the payment/process endpoint to initiate a payment transaction.

Step 6: Include Required Headers and Bearer Token

Ensure the following headers are included in requests to the payment/process endpoint:

  • X-API-KEY: Retrieved from the /auth/login response header.
  • X-COMPANY-ID: Retrieved from the /auth/login response header

By following these steps, merchants can successfully integrate with MyXSpend and securely process payments.