Xport Digital
1. INTRODUCTION2. NON APPROVED MERCHANT3. APPROVED MERCHANT4. DOCKER INTEGRATION5. EMBEDDED CRYPTO TRANSFER WIDGET6. EMBEDDED NON CRYPTO TRANSFER WIDGET7. API CALLSAuthorization Call for JWTCrypto Transfer StatusCustomer KYC StatusCustomer KYC Request

XPort API Calls

Authorization Call for JWT

Method: POST
Host: payment-test.xport-digital.com
Endpoint: /auth/login
Call Body: Use the x-www-form-urlencoded: and input your user account email and password

Response

{
"message": "Successfully loggedin",
"code": 200,
"user_id": 25,
"authenticated": true,
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoyNSwiZW1haWwiOiJjcnlwdG8tdGVzdEB4cG9ydC1kaWdpdGFsLmNvbSIsImNvbXBhbnlfdXVpZCI6ImJjYTQ0Yzg4LTA0NDUtNGFiMC1hYjQ3LTFkMTYyYTU4N2Q0NiIsInJvbGUiOjIsImlhdCI6MTYwODAyMjQ1NCwiZXhwIjoxNjA4NDU0NDU0fQ.jsu6WcnCg1mZYKNQjBYdNfEve_1ZeupgxlNToajJwfs"
}

Crypto Transfer Status

Method: GET
Host: payment-test.xport-digital.com
Endpoint Search By Email: api/crypto-engine/status?email=
Endpoint Search By RequestUUID: api/crypto-engine/status?requestUUID=...
Add JWT to Header

Response

{
"meta": { "time": "2020-12-15T08:48:29.948Z" },
"result": [
{
"id": 678,
"requestUUID": "07486c78-7409-4e55-8c55-d3e1c480ae2e",
"email": "",
"companyUUID": "",
"quotePrice": 1.0006,
"originalPurchasedPrice": 517.5,
"markupFee": 0.020012,
"markupFeePercentage": 0.02,
"finalPrice": 1.020612,
"quantity": 507.04871195,
"baseCurrency": "USD",
"quoteCurrency": "USDT",
"proceedsCurrency": "USDT",
"wallet": "0x7bbafE4C3C3CC17e9e6E65E4B62f557D0707D60e",
"txId": null,
"transferred": false,
"status": "OPEN",
"initialTransfer": false,
"requestedAt": "2020-12-10T00:33:31.000Z",
"quotedAt": "2020-12-10T00:33:31.000Z",
"fullySettledAt": null,
"createdAt": "2020-12-10T00:33:31.000Z",
"updatedAt": "2020-12-10T00:33:31.000Z"
}
]
}

Customer KYC Status

Method: POST
Host: payment-test.xport-digital.com
Endpoint: /user-kyc/search
Add JWT to Header

Customer KYC Request

{
"perPage": "10",
"page": "1",
"searchQuery": "email",
"kycStatus": "approved, pending, rejected"
}

Response

{
"code": "200",
"data": {
"numOfPages": 1,
"totalRecordCount": 1,
"perPage": 10,
"records": [
{
"ref_id": null,
"email": "",
"status": "approved",
"company_uuid": "bca44c88-0445-4ab0-ab47-1d162a587d46",
"created_at": "2020-12-11T09:09:43.000Z",
"updated_at": "2020-12-11T09:10:25.000Z",
"deleted_at": null
}
]
}
}