Skip to content

Instantly share code, notes, and snippets.

@KCMicheal
Last active February 4, 2022 11:02
Show Gist options
  • Save KCMicheal/3a3a74f245daf7305116a76ae5be9fcf to your computer and use it in GitHub Desktop.
Save KCMicheal/3a3a74f245daf7305116a76ae5be9fcf to your computer and use it in GitHub Desktop.
XendBridge API documentations
{
"info": {
"_postman_id": "a23b242a-243f-4be5-b40a-938530d1c1e1",
"name": "XendBridge API",
"description": "Below is the full list and documentation of our external Rest APIs. You will be able to utilize and test all of APIs from here.",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "Getting Started",
"item": [],
"description": "Each section contains its own api(s), implementations, examples, fields and definitions. Below are the environment variables and values;\n\n### Sandboxed Environment\n\n| Parameters | Values |\n| --- | --- |\n| baseUrl | [https://canary-xbridge.xend.finance](https://canary-xbridge.xend.finance) |\n\n### Live Environment\n\n| Parameters | | Values |\n| --- | --- | --- |\n| baseUrl | | https://integrationssandbox.xend.finance |\n| secretKey | | `YOUR_SECRET_KEY` |\n| publicKey | | `YOUR_PUBLIC_KEY` |\n\nFor the live environment, the email and password will be provided after successful registration with our system.",
"auth": {
"type": "noauth"
},
"event": [
{
"listen": "prerequest",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
}
]
},
{
"name": "Order Initiation",
"item": [
{
"name": "Initiate Buy Order",
"item": [
{
"name": "APIs",
"item": [
{
"name": "Initiate Buy Order",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "secretKey",
"value": "{{secretKey}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"emailAddress\": \"[email protected]\",\n \"phoneNumber\": \"0706346XXXX\",\n \"userName\": \"John Doe\",\n \"payInCurrencyCode\": \"NGN\",\n \"receiveInCurrencyCode\": \"BUSD\",\n \"orderAmount\": 5,\n \"consumerDepositMethod\": {\n \"paymentMethod\": \"Bank\",\n \"paymentData\": {\n \"accountName\": \"Emmanuel Diala\",\n \"accountNumber\": \"0000187849\",\n \"bankName\": \"Access Bank\"\n }\n },\n \"consumerReceiptMethod\": {\n \"paymentMethod\": \"Crypto\",\n \"paymentData\": {\n \"walletAddress\": \"QWEVDTWDGVT462E6EFYE9202Y239\",\n \"network\": \"BEP20\"\n }\n }\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/api/PeerToPeerOrder/Buy/Initiate",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"PeerToPeerOrder",
"Buy",
"Initiate"
]
}
},
"response": [
{
"name": "Success",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "secretKey",
"value": "{{secretKey}}"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"emailAddress\": \"[email protected]\",\n \"phoneNumber\": \"0706346XXXX\",\n \"userName\": \"John Doe\",\n \"payInCurrencyCode\": \"NGN\",\n \"receiveInCurrencyCode\": \"BUSD\",\n \"orderAmount\": 5,\n \"consumerDepositMethod\": {\n \"paymentMethod\": \"Bank\",\n \"paymentData\": {\n \"accountName\": \"Emmanuel Diala\",\n \"accountNumber\": \"0000187849\",\n \"bankName\": \"Access Bank\"\n }\n },\n \"consumerReceiptMethod\": {\n \"paymentMethod\": \"Crypto\",\n \"paymentData\": {\n \"walletAddress\": \"QWEVDTWDGVT462E6EFYE9202Y239\",\n \"network\": \"BEP20\"\n }\n }\n}{\n \"emailAddress\": \"[email protected]\",\n \"phoneNumber\": \"0706346XXXX\",\n \"userName\": \"John Doe\",\n \"payInCurrencyCode\": \"NGN\",\n \"receiveInCurrencyCode\": \"BUSD\",\n \"orderAmount\": 5,\n \"consumerDepositMethod\": {\n \"paymentMethod\": \"Bank\",\n \"paymentData\": {\n \"accountName\": \"Emmanuel Diala\",\n \"accountNumber\": \"0000187849\",\n \"bankName\": \"Access Bank\"\n }\n },\n \"consumerReceiptMethod\": {\n \"paymentMethod\": \"Crypto\",\n \"paymentData\": {\n \"walletAddress\": \"QWEVDTWDGVT462E6EFYE9202Y239\",\n \"network\": \"BEP20\"\n }\n }\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/api/PeerToPeerOrder/Buy/Initiate",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"PeerToPeerOrder",
"Buy",
"Initiate"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"data\": {\n \"orderReference\": \"XB_4e387a38e1a84dabb4bb65478d2920a4\",\n \"receiveInCurrencyCode\": \"BUSD\",\n \"payInCurrencyCode\": \"NGN\",\n \"receivableAmount\": 0.00894454,\n \"payableAmount\": 5,\n \"providerName\": \"Nnadozie Ohaeri\",\n \"providerFirstName\": \"Nnadozie\",\n \"providerLastName\": \"Ohaeri\",\n \"providerEmail\": \"[email protected]\",\n \"initiatedAt\": \"2022-01-27T22:33:21.1317886Z\",\n \"orderExpiryDate\": \"2022-01-27T22:48:19.7202632Z\",\n \"initiatedAtTimestamp\": 1643322799720,\n \"orderExpiryTimestamp\": 1643323699720,\n \"fundedProviderAtTimeStamp\": null,\n \"fundedCustomerAtTimeStamp\": null,\n \"orderCompletedAtTimeStamp\": null,\n \"p2POrderStatus\": \"Acknowledged\",\n \"disputeStatus\": \"NoDispute\",\n \"orderType\": \"Buy\",\n \"providerContact\": {\n \"phoneNumber\": \"2348062069869\",\n \"whatsappNumber\": \"2348062069869\"\n },\n \"customerContact\": {\n \"email\": \"[email protected]\",\n \"name\": \"John Doe\",\n \"phoneNumber\": \"0706346XXXX\"\n },\n \"providerPaymentMethods\": {\n \"paymentMethod\": \"Bank\",\n \"paymentType\": \"Bank\",\n \"paymentData\": [\n {\n \"bankName\": \"Access\",\n \"accountNumber\": \"0069888440\",\n \"accountName\": \"Ohaeri Nnadozie\",\n \"currency\": \"NGN\"\n }\n ],\n \"orderPaymentMethod\": {\n \"bankName\": \"Access\",\n \"accountNumber\": \"0069888440\",\n \"accountName\": \"Ohaeri Nnadozie\",\n \"currency\": \"NGN\"\n }\n },\n \"consumerDepositMethod\": {\n \"paymentMethod\": \"Bank\",\n \"paymentType\": 0,\n \"paymentData\": {\n \"bankName\": \"Access Bank\",\n \"accountNumber\": \"0000187849\",\n \"accountName\": \"Emmanuel Diala\",\n \"currency\": \"NGN\"\n }\n },\n \"consumerReceiptMethod\": {\n \"paymentMethod\": \"Crypto\",\n \"paymentType\": 0,\n \"paymentData\": {\n \"walletAddress\": \"QWEVDTWDGVT462E6EFYE9202Y239\",\n \"network\": \"BEP20\",\n \"currency\": \"BUSD\"\n }\n },\n \"providerTransactionMetadata\": null\n },\n \"status\": \"OK\",\n \"message\": \"\"\n}"
},
{
"name": "Bad Request",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "secretKey",
"value": "{{secretKey}}"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"emailAddress\": \"[email protected]\",\n \"phoneNumber\": \"0706346XXXX\",\n \"userName\": \"John Doe\",\n \"payInCurrencyCode\": \"NGN\",\n \"receiveInCurrencyCode\": \"BUSD\",\n \"orderAmount\": 5,\n \"consumerDepositMethod\": {\n \"paymentMethod\": \"Bank\",\n \"paymentData\": {\n \"accountName\": \"Emmanuel Diala\",\n \"accountNumber\": \"0000187849\",\n \"bankName\": \"Access Bank\"\n }\n },\n \"consumerReceiptMethod\": {\n \"paymentMethod\": \"Crypto\",\n \"paymentData\": {\n \"walletAddress\": \"QWEVDTWDGVT462E6EFYE9202Y239\",\n \"network\": \"BEP20\"\n }\n }\n}{\n \"emailAddress\": \"[email protected]\",\n \"phoneNumber\": \"0706346XXXX\",\n \"userName\": \"John Doe\",\n \"payInCurrencyCode\": \"NGN\",\n \"receiveInCurrencyCode\": \"BUSD\",\n \"orderAmount\": 5,\n \"consumerDepositMethod\": {\n \"paymentMethod\": \"Bank\",\n \"paymentData\": {\n \"accountName\": \"Emmanuel Diala\",\n \"accountNumber\": \"0000187849\",\n \"bankName\": \"Access Bank\"\n }\n },\n \"consumerReceiptMethod\": {\n \"paymentMethod\": \"Crypto\",\n \"paymentData\": {\n \"walletAddress\": \"QWEVDTWDGVT462E6EFYE9202Y239\",\n \"network\": \"BEP20\"\n }\n }\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/api/PeerToPeerOrder/Buy/Initiate",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"PeerToPeerOrder",
"Buy",
"Initiate"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"Status\": 2,\n \"Message\": \"You Have A Pending Buy Order\",\n \"Data\": null\n}"
}
]
}
],
"auth": {
"type": "noauth"
},
"event": [
{
"listen": "prerequest",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
}
]
},
{
"name": "Fields & Definitions",
"item": [],
"description": "#### Request Fields\n\n| Parameter | Type | **Description** |\n| --- | --- | --- |\n| emailAddress | string | `Required` This is the consumer's email address. |\n| phoneNumber | string | `Required` This is the consumer's phone number. |\n| userName | string | `Required` This is the consumer's username |\n| payInCurrencyCode | enum | `Required` This is the currency code to pay with. Must be `NGN` for buy order. |\n| recieveInCurrencyCode | enum | `Required` This is the currency code to receive the currency in. Must be `BUSD` for buy order. |\n| orderAmount | decimal | `Required` The order amount by the consumer. |\n| consumerDepositMethod | object | `Required` This holds the props of the deposit method of the consumer which is are the bank details. |\n| paymentMethod | enum | `Required` The payment method by which transactions are made. It should be `BANK`for buy order. |\n| paymentData | object | `Required` This holds the props of the bank details of the consumer. |\n| accountName | string | `Required` This is the account name of the consumer. |\n| accountNumber | string | `Required` The local account number of the consumer |\n| bankName | string | `Required` This is the bank name of the consumer. |\n| consumerReceiptMethod | object | `Required` This holds the props of the consumer receiving method. The `paymentMethod` prop must be `Crypto` . |\n| paymentData | object | `Required` This holds the props of the consumer receiving account details. |\n| walletAddress | string | `Required` The crypto wallet address of the consumer. |\n| network | string | `Required` This is the network on which the address is on. |\n\n#### Response Fields\n\n| Parameter | Type | **Description** |\n| --- | --- | --- |\n| orderReference | string | This the reference to a particular order. |\n| recieveInCurrencyCode | enum | This is the currency code to receive the currency in. |\n| payInCurrencyCode | enum | This is the currency code to pay with. |\n| receivableAmount | decimal | This the receivable amount of the currency. |\n| payableAmount | decimal | This is the payable amount of the currency. |\n| providerName | string | This the provider's name. |\n| providerFirstName | string | This is the provider's first name. |\n| providerLastName | string | This is the provider's last name. |\n| providerEmail | string | This is the provider's email address. |\n| initiatedAt | DateTime | The date time the order was made. |\n| orderExpiryDate | DateTime | The expiry date time of the order. |\n| initiatedAtTimestamp | long | The time in milliseconds an order was made |\n| orderExpiryTimestamp | long | The time in milliseconds of when thee order will expire. |\n| fundedProviderAtTimeStamp | long | The time of when a customer indicates payment for an order in milliseconds. |\n| fundedCustomerAtTimeStamp | long | The time of when a provider indicates payment of order to the customer in milliseconds |\n| orderCompletedAtTimeStamp | long | The time in milliseconds an order was completed. |\n| p2POrderStatus | enum | The status of the order at the curent time. It could be `Submitted`, `Cancelled`, `Acknowledged`, `FundedProvider`, `FundReceivedFromUser`, `FundedUser`, `Completed`, `OrderTimedOut` |\n| disputeStatus | enum | The status of the dispute on an order. It could either be `NoDispute`, `DisputeRaisedByCustomer`, `DisputeRaisedByProvider`, `DisputeRaisedByBothParties`, `DisputeResolved`or `CouldNotBeResolved`. |\n| orderType | enum | This is the status of the order, whether it's a `Buy` or `Sell`. |\n| providerContact | object | This is holds props of a provider's contact information. |\n| phoneNumber | string | The phone number of either the provider or customer. |\n| whatsappNumber | string | The whatsapp number of either the provider or customer. |\n| customerContact | object | This holds the props of the contact information. |\n| email | string | This is an email address of the customer. |\n| name | string | This is the name of the customer. |\n| phoneNumber | string | The phone number of the customer |\n| providerPaymentMethods | object | This holds the props of the payment methods of the provider. |\n| paymentMethod | enum | This is the method of payment. It could be `Bank` or `Crypto` |\n| paymentType | enum | This is the type of payment. It could be `Bank`, `Crypto`, `UserName`or `MobileMoney`. |\n| paymentData | object | This holds the props of the payment method. |\n| bankName | string | The bank name of the the provider or customer. |\n| accountNumber | string | The bank account number of the provider or customer. |\n| accountName | string | The bank account name of the provider or customer. |\n| currency | enum | The currency in which the order was made. It could be `BUSD` or `NGN`. |\n| orderPaymentMethod | object | This holds props of the payment method in which the order is to be made to. |\n| consumerDepositMethod | object | This holds the props of the consumer deposit details. |\n| consumerrReceiptMethod | object | This holds the props of the consumer receiving method details. |\n| walletAddress | string | This is the crypto wallet address of the consumer. |\n| network | enum | This is the network currently supported in the system which the wallet address is based on. |\n| providerTransactionMetadata | object | This holds the props of the transaction metadata of an order. |",
"auth": {
"type": "noauth"
},
"event": [
{
"listen": "prerequest",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
}
]
}
],
"description": "The buy order `POST` api takes your `secretKey` as a required parameter which should be in your environment variables as it verifies the integrity of your third-party application.\n\nYou will send a `POST` request containing properties like the customer's email, phone number, customer deposit and receipt methods etc. See example below",
"auth": {
"type": "noauth"
},
"event": [
{
"listen": "prerequest",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
}
]
},
{
"name": "Initiate Sell Order",
"item": [
{
"name": "APIs",
"item": [
{
"name": "Initiate Sell Order",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "secretKey",
"value": "{{secretKey}}"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"emailAddress\": \"[email protected]\",\n \"phoneNumber\": \"0706346XXXX\",\n \"userName\": \"John Doe\",\n \"payInCurrencyCode\": \"BUSD\",\n \"receiveInCurrencyCode\": \"NGN\",\n \"orderAmount\": 10000,\n \"consumerDepositMethod\": {\n \"paymentMethod\": \"Crypto\",\n \"paymentData\": {\n \"walletAddress\": \"QWEVDTWDGVT462E6EFYE9202Y239\",\n \"network\": \"BEP20\"\n }\n },\n \"consumerReceiptMethod\": {\n \"paymentMethod\": \"Bank\",\n \"paymentData\": {\n \"accountName\": \"Emmanuel Diala\",\n \"accountNumber\": \"0000187849\",\n \"bankName\": \"Access Bank\"\n }\n }\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/api/PeerToPeerOrder/Sell/Initiate",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"PeerToPeerOrder",
"Sell",
"Initiate"
]
}
},
"response": [
{
"name": "Success",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "secretKey",
"value": "{{secretKey}}"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"emailAddress\": \"[email protected]\",\n \"phoneNumber\": \"0706346XXXX\",\n \"userName\": \"John Doe\",\n \"payInCurrencyCode\": \"BUSD\",\n \"receiveInCurrencyCode\": \"NGN\",\n \"orderAmount\": 10000,\n \"consumerDepositMethod\": {\n \"paymentMethod\": \"Crypto\",\n \"paymentData\": {\n \"walletAddress\": \"QWEVDTWDGVT462E6EFYE9202Y239\",\n \"network\": \"BEP20\"\n }\n },\n \"consumerReceiptMethod\": {\n \"paymentMethod\": \"Bank\",\n \"paymentData\": {\n \"accountName\": \"Emmanuel Diala\",\n \"accountNumber\": \"0000187849\",\n \"bankName\": \"Access Bank\"\n }\n }\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/api/PeerToPeerOrder/Sell/Initiate",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"PeerToPeerOrder",
"Sell",
"Initiate"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"data\": {\n \"orderReference\": \"XS_1eb435a088b5459d9d914142aff5257a\",\n \"receiveInCurrencyCode\": \"NGN\",\n \"payInCurrencyCode\": \"BUSD\",\n \"receivableAmount\": 5700000.00000000,\n \"payableAmount\": 10000,\n \"providerName\": \"Chijioke \",\n \"providerFirstName\": \"Chijioke \",\n \"providerLastName\": \"Omeri\",\n \"providerEmail\": \"[email protected]\",\n \"initiatedAt\": \"2022-01-25T18:02:12.169748Z\",\n \"orderExpiryDate\": \"2022-01-25T18:16:57.6999971Z\",\n \"initiatedAtTimestamp\": 1643133717699,\n \"orderExpiryTimestamp\": 1643134617699,\n \"fundedProviderAtTimeStamp\": null,\n \"fundedCustomerAtTimeStamp\": null,\n \"orderCompletedAtTimeStamp\": null,\n \"p2POrderStatus\": \"Acknowledged\",\n \"disputeStatus\": \"NoDispute\",\n \"orderType\": \"Sell\",\n \"providerContact\": {\n \"phoneNumber\": \"2347031195351\",\n \"whatsappNumber\": \"\"\n },\n \"customerContact\": {\n \"email\": \"[email protected]\",\n \"name\": \"John Doe\",\n \"phoneNumber\": \"0706346XXXX\"\n },\n \"providerPaymentMethods\": {\n \"paymentMethod\": \"Crypto\",\n \"paymentType\": \"Crypto\",\n \"paymentData\": [\n {\n \"walletAddress\": \"0xd8E07E6c836DcE3e89547228BcfD345C493B36C1\",\n \"network\": \"BEP20\",\n \"currency\": \"BUSD\"\n }\n ],\n \"orderPaymentMethod\": {\n \"walletAddress\": \"0xd8E07E6c836DcE3e89547228BcfD345C493B36C1\",\n \"network\": \"BEP20\",\n \"currency\": \"BUSD\"\n }\n },\n \"consumerDepositMethod\": {\n \"paymentMethod\": \"Crypto\",\n \"paymentType\": 0,\n \"paymentData\": {\n \"walletAddress\": \"QWEVDTWDGVT462E6EFYE9202Y239\",\n \"network\": \"BEP20\",\n \"currency\": \"BUSD\"\n }\n },\n \"consumerReceiptMethod\": {\n \"paymentMethod\": \"Bank\",\n \"paymentType\": 0,\n \"paymentData\": {\n \"bankName\": \"Access Bank\",\n \"accountNumber\": \"0000187849\",\n \"accountName\": \"Emmanuel Diala\",\n \"currency\": \"NGN\"\n }\n },\n \"providerTransactionMetadata\": null\n },\n \"status\": \"OK\",\n \"message\": \"\"\n}"
}
]
}
]
},
{
"name": "Fields & Definitions",
"item": [],
"description": "#### Request Fields\n\n| Parameter | Type | **Description** |\n| --- | --- | --- |\n| emailAddress | string | `Required` This is the consumer's email address. |\n| phoneNumber | string | `Required` This is the consumer's phone number. |\n| userName | string | `Required` This is the consumer's username |\n| payInCurrencyCode | enum | `Required` This is the currency code to pay with. Must be `BUSD` for sell order. |\n| recieveInCurrencyCode | enum | `Required` This is the currency code to receive the currency in. Must be `NGN` for buy order. |\n| orderAmount | decimal | `Required` The order amount by the consumer. |\n| consumerDepositMethod | object | `Required` This holds the props of the deposit method of the consumer. |\n| paymentMethod | enum | `Required` The payment method by which transactions are made. It should be `CRYPTO`for sell order. |\n| paymentData | object | `Required` This holds the props of the wallet details of the consumer. |\n| walletAddress | string | `Required` The crypto wallet address of the consumer. |\n| network | enum | `Required` This is the network on which the address is on. It could be `BEP20`, `ERC20` or `POLYGON`. |\n| consumerReceiptMethod | object | `Required` This holds the props of the consumer receiving method. The `paymentMethod` prop must be `Bank` . |\n| paymentData | object | `Required` This holds the props of the consumer receiving bank account details. |\n| accountName | string | `Required` This is the account name of the consumer. |\n| accountNumber | string | `Required` The local bank account number of the consumer |\n| bankName | string | `Required` This is the bank name of the consumer. |\n\n#### Response Fields\n\n| Parameter | Type | **Description** |\n| --- | --- | --- |\n| orderReference | string | This the reference to a particular order. |\n| recieveInCurrencyCode | enum | This is the currency code to receive the currency in. |\n| payInCurrencyCode | enum | This is the currency code to pay with. |\n| receivableAmount | decimal | This the receivable amount of the currency. |\n| payableAmount | decimal | This is the payable amount of the currency. |\n| providerName | string | This the provider's name. |\n| providerFirstName | string | This is the provider's first name. |\n| providerLastName | string | This is the provider's last name. |\n| providerEmail | string | This is the provider's email address. |\n| initiatedAt | DateTime | The date time the order was made. |\n| orderExpiryDate | DateTime | The expiry date time of the order. |\n| initiatedAtTimestamp | long | The time in milliseconds an order was made |\n| orderExpiryTimestamp | long | The time in milliseconds of when thee order will expire. |\n| fundedProviderAtTimeStamp | long | The time of when a customer indicates payment for an order in milliseconds. |\n| fundedCustomerAtTimeStamp | long | The time of when a provider indicates payment of order to the customer in milliseconds |\n| orderCompletedAtTimeStamp | long | The time in milliseconds an order was completed. |\n| p2POrderStatus | enum | The status of the order at the curent time. It could be `Submitted`, `Cancelled`, `Acknowledged`, `FundedProvider`, `FundReceivedFromUser`, `FundedUser`, `Completed`, `OrderTimedOut` |\n| disputeStatus | enum | The status of the dispute on an order. It could either be `NoDispute`, `DisputeRaisedByCustomer`, `DisputeRaisedByProvider`, `DisputeRaisedByBothParties`, `DisputeResolved`or `CouldNotBeResolved`. |\n| orderType | enum | This is the status of the order, whether it's a `Buy` or `Sell`. |\n| providerContact | object | This is holds props of a provider's contact information. |\n| phoneNumber | string | The phone number of either the provider or customer. |\n| whatsappNumber | string | The whatsapp number of either the provider or customer. |\n| customerContact | object | This holds the props of the contact information. |\n| email | string | This is an email address of the customer. |\n| name | string | This is the name of the customer. |\n| phoneNumber | string | The phone number of the customer |\n| providerPaymentMethods | object | This holds the props of the payment methods of the provider. |\n| paymentMethod | enum | This is the method of payment. It could be `Bank` or `Crypto` |\n| paymentType | enum | This is the type of payment. It could be `Bank`, `Crypto`, `UserName`or `MobileMoney`. |\n| paymentData | object | This holds the props of the payment method. |\n| bankName | string | The bank name of the the provider or customer. |\n| accountNumber | string | The bank account number of the provider or customer. |\n| accountName | string | The bank account name of the provider or customer. |\n| currency | enum | The currency in which the order was made. It could be `BUSD` or `NGN`. |\n| orderPaymentMethod | object | This holds props of the payment method in which the order is to be made to. |\n| consumerDepositMethod | object | This holds the props of the consumer deposit details. |\n| consumerrReceiptMethod | object | This holds the props of the consumer receiving method details. |\n| walletAddress | string | This is the crypto wallet address of the consumer. |\n| network | enum | This is the network currently supported in the system which the wallet address is based on. |\n| providerTransactionMetadata | object | This holds the props of the transaction metadata of an order. |",
"auth": {
"type": "noauth"
},
"event": [
{
"listen": "prerequest",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
}
]
}
],
"description": "The sell order `POST`api takes your `secretKey` as a required parameter which should be in your environment variables as it verifies the integrity of your third-party application.\n\nYou will send a `POST` request containing properties like the customer's email, phone number, customer deposit and receipt methods etc. See example below;",
"auth": {
"type": "noauth"
},
"event": [
{
"listen": "prerequest",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
}
]
}
],
"description": "XendBridge offers order transactions between customers using multiple methods of payment like crypto and bank methods. The consumer receipt and deposit method are used in reverse in both endpoints.\n\n* Initiate Buy Order\n* Initiate Sell Order",
"auth": {
"type": "noauth"
},
"event": [
{
"listen": "prerequest",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
}
]
},
{
"name": "Get Rate",
"item": [
{
"name": "APIs",
"item": [
{
"name": "Get Order Rate",
"request": {
"auth": {
"type": "noauth"
},
"method": "GET",
"header": [
{
"key": "publicKey",
"value": "{{publicKey}}",
"type": "default"
}
],
"url": {
"raw": "{{baseUrl}}/api/PeerToPeerOrder/Rate?payInCurrencyCode=NGN&receiveInCurrencyCode=BUSD&orderAmount=1000",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"PeerToPeerOrder",
"Rate"
],
"query": [
{
"key": "payInCurrencyCode",
"value": "NGN"
},
{
"key": "receiveInCurrencyCode",
"value": "BUSD"
},
{
"key": "orderAmount",
"value": "1000"
}
]
}
},
"response": [
{
"name": "Success",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "publicKey",
"value": "{{publicKey}}",
"type": "default"
}
],
"url": {
"raw": "{{baseUrl}}/api/PeerToPeerOrder/Rate?payInCurrencyCode=NGN&receiveInCurrencyCode=BUSD&orderAmount=1000",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"PeerToPeerOrder",
"Rate"
],
"query": [
{
"key": "payInCurrencyCode",
"value": "NGN"
},
{
"key": "receiveInCurrencyCode",
"value": "BUSD"
},
{
"key": "orderAmount",
"value": "1000"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"data\": {\n \"exchangeRate\": 559.00,\n \"maximumAmount\": 10000.000000000,\n \"minimumAmount\": 5.000000000,\n \"providerRateReference\": \"1382CB3D300346E6A183B720181E0D2B\",\n \"rateValidityInSeconds\": 20\n },\n \"status\": \"OK\",\n \"message\": \"\"\n}"
},
{
"name": "Bad Request",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: apikey",
"key": "Authorization",
"value": "<API Key>"
},
{
"key": "secretKey",
"value": "ad in veniam labore"
}
],
"url": {
"raw": "{{baseUrl}}/api/PeerToPeerOrder/Rate?payInCurrencyCode=XEND&receiveInCurrencyCode=XEND&orderAmount=-29869269.41601032",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"PeerToPeerOrder",
"Rate"
],
"query": [
{
"key": "payInCurrencyCode",
"value": "XEND"
},
{
"key": "receiveInCurrencyCode",
"value": "XEND"
},
{
"key": "orderAmount",
"value": "-29869269.41601032"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"status\": 2,\n \"message\": \"Oops, something went wrong!\",\n \"data\": {}\n}"
},
{
"name": "Bad Request If Currencies Are The Same",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "secretKey",
"value": "ad in veniam labore"
}
],
"url": {
"raw": "{{baseUrl}}/api/PeerToPeerOrder/Rate?payInCurrencyCode=XEND&receiveInCurrencyCode=XEND&orderAmount=-29869269.41601032",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"PeerToPeerOrder",
"Rate"
],
"query": [
{
"key": "payInCurrencyCode",
"value": "XEND"
},
{
"key": "receiveInCurrencyCode",
"value": "XEND"
},
{
"key": "orderAmount",
"value": "-29869269.41601032"
}
]
}
},
"_postman_previewlanguage": "json",
"header": null,
"cookie": [],
"body": "{\n \"Status\": 2,\n \"Message\": \"Transaction Currencies Cannot Be Same\",\n \"Data\": null\n}"
}
]
}
]
},
{
"name": "Fields & Definitions",
"item": [],
"description": "#### Request Fields\n\n| Parameters | Type | **Description** |\n| --- | --- | --- |\n| payInCurrencyCode | string | `Required` The currency to be paid in. |\n| recieveInCurrencyCode | string | `Required` The currency to be received in. |\n| orderAmount | string | `Required` The amount of the order. |\n\n#### Response Fields\n\n| Parameters | Type | **Description** |\n| --- | --- | --- |\n| exchangeRate | decimal | This is the exchange rate at which an order could be exchanged for |\n| maximumAmount | decimal | This is the maximum amount a customer can order. |\n| minimumAmount | decimal | This is the minimum amount a customer can order. |\n| providerRateReference | string | This is the reference of the rates of a provider. |\n| rateValidityInSeconds | int | This is the validity of an order rate of a provider in seconds. |",
"auth": {
"type": "noauth"
},
"event": [
{
"listen": "prerequest",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
}
]
}
],
"description": "The Get Order Rate `GET`endpoint gets the lowest possible exchange rate for an order placed by a consumer from a provider. This requires your `public key` in the environment variables while the params passed will be the `payInCurrencyCode` , `recieveInCurrencyCode` & `orderAmount`.\n\nThe returned result will have a `rateValidityInSeconds`, `providerRateAmount`& `providerRateReference`. See example below;"
},
{
"name": "Third Party",
"item": [
{
"name": "Get Pending Order",
"item": [
{
"name": "APIs",
"item": [
{
"name": "Get Pending Order",
"request": {
"method": "GET",
"header": [
{
"key": "publicKey",
"value": "{{publicKey}}",
"type": "default"
}
],
"url": {
"raw": "{{baseUrl}}/api/PeerToPeerOrder/ThirdParty/[email protected]",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"PeerToPeerOrder",
"ThirdParty",
"PendingOrder"
],
"query": [
{
"key": "emailAddress",
"value": "[email protected]"
}
]
}
},
"response": [
{
"name": "Success",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "publicKey",
"value": "{{publicKey}}"
}
],
"url": {
"raw": "{{baseUrl}}/api/PeerToPeerOrder/ThirdParty/[email protected]",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"PeerToPeerOrder",
"ThirdParty",
"PendingOrder"
],
"query": [
{
"key": "emailAddress",
"value": "[email protected]"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"data\": {\n \"orderStatus\": \"ProcessingRequest\",\n \"orderResponse\": {\n \"orderReference\": \"XB_f35544c74f81401b9cf3e5fa96142be0\",\n \"receiveInCurrencyCode\": \"BUSD\",\n \"payInCurrencyCode\": \"NGN\",\n \"receivableAmount\": 0.008944540,\n \"payableAmount\": 5.000000000,\n \"providerName\": \"Nnadozie Ohaeri\",\n \"providerFirstName\": \"Nnadozie\",\n \"providerLastName\": \"Ohaeri\",\n \"providerEmail\": \"[email protected]\",\n \"initiatedAt\": \"2022-01-25T17:39:54.0057928\",\n \"orderExpiryDate\": \"2022-01-25T17:54:54.0057928\",\n \"initiatedAtTimestamp\": 1643132394005,\n \"orderExpiryTimestamp\": 1643133294005,\n \"fundedProviderAtTimeStamp\": null,\n \"fundedCustomerAtTimeStamp\": null,\n \"orderCompletedAtTimeStamp\": null,\n \"p2POrderStatus\": \"Acknowledged\",\n \"disputeStatus\": \"NoDispute\",\n \"orderType\": \"Buy\",\n \"providerContact\": {\n \"phoneNumber\": \"2348062069869\",\n \"whatsappNumber\": \"2348062069869\"\n },\n \"customerContact\": {\n \"email\": \"[email protected]\",\n \"name\": \"John Doe\",\n \"phoneNumber\": \"0706346XXXX\"\n },\n \"providerPaymentMethods\": {\n \"paymentMethod\": \"Bank\",\n \"paymentType\": \"Bank\",\n \"paymentData\": [\n {\n \"bankName\": \"Access\",\n \"accountNumber\": \"0069888440\",\n \"accountName\": \"Ohaeri Nnadozie\",\n \"currency\": \"NGN\"\n }\n ],\n \"orderPaymentMethod\": {\n \"bankName\": \"Access\",\n \"accountNumber\": \"0069888440\",\n \"accountName\": \"Ohaeri Nnadozie\",\n \"currency\": \"NGN\"\n }\n },\n \"consumerDepositMethod\": {\n \"paymentMethod\": \"Bank\",\n \"paymentType\": 0,\n \"paymentData\": {\n \"bankName\": \"Access Bank\",\n \"accountNumber\": \"0000187849\",\n \"accountName\": \"Emmanuel Diala\",\n \"currency\": \"NGN\"\n }\n },\n \"consumerReceiptMethod\": {\n \"paymentMethod\": \"Crypto\",\n \"paymentType\": 0,\n \"paymentData\": {\n \"walletAddress\": \"QWEVDTWDGVT462E6EFYE9202Y239\",\n \"network\": \"BEP20\",\n \"currency\": \"BUSD\"\n }\n },\n \"providerTransactionMetadata\": null\n }\n },\n \"status\": \"OK\",\n \"message\": \"\"\n}"
},
{
"name": "Bad Request If Email Is Invalid",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: apikey",
"key": "Authorization",
"value": "<API Key>"
},
{
"key": "secretKey",
"value": "laboris dolore"
}
],
"url": {
"raw": "{{baseUrl}}/api/PeerToPeerOrder/ThirdParty/[email protected]",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"PeerToPeerOrder",
"ThirdParty",
"PendingOrder"
],
"query": [
{
"key": "emailAddress",
"value": "[email protected]"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"data\": {\n \"orderStatus\": \"Available\",\n \"orderResponse\": null\n },\n \"status\": \"OK\",\n \"message\": \"\"\n}"
}
]
}
]
},
{
"name": "Fields & Definitions",
"item": [],
"description": "#### Request Fields\n\n| Parameter | Type | **Description** |\n| --- | --- | --- |\n| emailAddress | string | `Required` This is the consumer's email address. |\n\n#### Response Fields\n\n| Parameter | Type | **Description** |\n| --- | --- | --- |\n| orderStatus | enum | This the current status of an order when being placed. It can either be `ProcessingRequest` or `Available`. |\n| orderResponse | object | This holds the `orderReference` objects and props. |\n| orderReference | string | This the reference to a particular order. |\n| recieveInCurrencyCode | enum | This is the currency code to receive the currency in. |\n| payInCurrencyCode | enum | This is the currency code to pay with. |\n| receivableAmount | decimal | This the receivable amount of the currency. |\n| payableAmount | decimal | This is the payable amount of the currency. |\n| providerName | string | This the provider's name. |\n| providerFirstName | string | This is the provider's first name. |\n| providerLastName | string | This is the provider's last name. |\n| providerEmail | string | This is the provider's email address. |\n| initiatedAt | DateTime | The date time the order was made. |\n| orderExpiryDate | DateTime | The expiry date time of the order. |\n| initiatedAtTimestamp | long | The time in milliseconds an order was made |\n| orderExpiryTimestamp | long | The time in milliseconds of when thee order will expire. |\n| fundedProviderAtTimeStamp | long | The time of when a customer indicates payment for an order in milliseconds. |\n| fundedCustomerAtTimeStamp | long | The time of when a provider indicates payment of order to the customer in milliseconds |\n| orderCompletedAtTimeStamp | long | The time in milliseconds an order was completed. |\n| p2POrderStatus | enum | The status of the order at the curent time. It could be `Submitted`, `Cancelled`, `Acknowledged`, `FundedProvider`, `FundReceivedFromUser`, `FundedUser`, `Completed`, `OrderTimedOut` |\n| disputeStatus | enum | The status of the dispute on an order. It could either be `NoDispute`, `DisputeRaisedByCustomer`, `DisputeRaisedByProvider`, `DisputeRaisedByBothParties`, `DisputeResolved`or `CouldNotBeResolved`. |\n| orderType | enum | This is the status of the order, whether it's a `Buy` or `Sell`. |\n| providerContact | object | This is holds props of a provider's contact information. |\n| phoneNumber | string | The phone number of either the provider or customer. |\n| whatsappNumber | string | The whatsapp number of either the provider or customer. |\n| customerContact | object | This holds the props of the contact information. |\n| email | string | This is an email address of the customer. |\n| name | string | This is the name of the customer. |\n| phoneNumber | string | The phone number of the customer |\n| providerPaymentMethods | object | This holds the props of the payment methods of the provider. |\n| paymentMethod | enum | This is the method of payment. It could be `Bank` or `Crypto` |\n| paymentType | enum | This is the type of payment. It could be `Bank`, `Crypto`, `UserName`or `MobileMoney`. |\n| paymentData | object | This holds the props of the payment method. |\n| bankName | string | The bank name of the the provider or customer. |\n| accountNumber | string | The bank account number of the provider or customer. |\n| accountName | string | The bank account name of the provider or customer. |\n| currency | enum | The currency in which the order was made. It could be `BUSD` or `NGN`. |\n| orderPaymentMethod | object | This holds props of the payment method in which the order is to be made to. |\n| consumerDepositMethod | object | This holds the props of the consumer deposit details. |\n| consumerrReceiptMethod | object | This holds the props of the consumer receiving method details. |\n| walletAddress | string | This is the crypto wallet address of the consumer. |\n| network | enum | This is the network currently supported in the system which the wallet address is based on. |\n| providerTransactionMetadata | object | This holds the props of the transaction metadata of an order. |",
"auth": {
"type": "noauth"
},
"event": [
{
"listen": "prerequest",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
}
]
}
],
"description": "This `GET` endpoint gets a pending order of a third party customer. The `publicKey` is passed in the header while only an `emailAddress` is passed as a param. See example below;"
},
{
"name": "Pay For Order",
"item": [
{
"name": "APIs",
"item": [
{
"name": "Pay For Order",
"request": {
"method": "POST",
"header": [
{
"key": "publicKey",
"value": "{{publicKey}}",
"type": "default"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"emailaddress\": \"[email protected]\",\r\n \"orderreference\": \"XS_1eb435a088b5459d9d914142aff5257a\"\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/api/PeerToPeerOrder/ThirdParty/Order/Confirm",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"PeerToPeerOrder",
"ThirdParty",
"Order",
"Confirm"
]
}
},
"response": [
{
"name": "Success",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "publickey",
"value": "{{publicKey}}",
"type": "default"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"emailaddress\": \"[email protected]\",\r\n \"orderreference\": \"XS_1eb435a088b5459d9d914142aff5257a\"\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/api/PeerToPeerOrder/ThirdParty/Order/Confirm",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"PeerToPeerOrder",
"ThirdParty",
"Order",
"Confirm"
]
}
},
"_postman_previewlanguage": "json",
"header": null,
"cookie": [],
"body": "{\n \"data\": true,\n \"status\": \"OK\",\n \"message\": \"Payment Updated Successfully\"\n}"
},
{
"name": "Bad Request If OrderReference Invalid",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "secretkey",
"value": "{{secretKey}}",
"type": "default"
},
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"emailaddress\": \"[email protected]\",\r\n \"orderreference\": \"XB_f35544c74f81401\"\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/api/PeerToPeerOrder/ThirdParty/Order/Confirm",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"PeerToPeerOrder",
"ThirdParty",
"Order",
"Confirm"
]
}
},
"_postman_previewlanguage": null,
"header": null,
"cookie": [],
"body": null
}
]
}
]
},
{
"name": "Fields & Definitions",
"item": [],
"description": "#### Request Fields\n\n| Parameters | Type | **Description** |\n| --- | --- | --- |\n| emailAddress | string | `Required` The email address of the third party client. |\n| orderReference | string | `Required` The order reference of an order made. |\n\n#### Response Fields\n\n| Parameters | Type | **Description** |\n| --- | --- | --- |\n| data | bool | This can either be true or false. |\n| status | string | This returns a status message of the request. |\n| message | string | This returns either `Payment updated successfully` if success, or `Failed to update payment status. Please try again later` if failed. |",
"auth": {
"type": "noauth"
},
"event": [
{
"listen": "prerequest",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
}
]
}
],
"description": "This `POST` endpoint makes a buy order for a third party customer. Only the `secretkey` is passed in the header while the request to be made would contain only an `emailAddress` and `orderReference`.\n\nIf successful returns a \"Payment made successfully\" `200`message."
},
{
"name": "Cancel Order",
"item": [
{
"name": "APIs",
"item": [
{
"name": "Cancel Order",
"request": {
"method": "POST",
"header": [
{
"key": "publicKey",
"value": "{{publicKey}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"emailaddress\": \"[email protected]\",\n \"orderreference\": \"XB_f35544c74f81401b9cf3e5fa96142be0\"\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/api/PeerToPeerOrder/ThirdParty/Order/Cancel",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"PeerToPeerOrder",
"ThirdParty",
"Order",
"Cancel"
]
}
},
"response": [
{
"name": "Success",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "publicKey",
"value": "{{publicKey}}"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"emailaddress\": \"[email protected]\",\n \"orderreference\": \"XB_f35544c74f81401b9cf3e5fa96142be0\"\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/api/PeerToPeerOrder/ThirdParty/Order/Cancel",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"PeerToPeerOrder",
"ThirdParty",
"Order",
"Cancel"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"data\": true,\n \"status\": \"OK\",\n \"message\": \"\"\n}"
},
{
"name": "Bad Request If OrderReference Invalid",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "publicKey",
"value": "{{publicKey}}"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"emailaddress\": \"[email protected]\",\n \"orderreference\": \"XB_f35544c74f81401\"\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/api/PeerToPeerOrder/ThirdParty/Order/Cancel",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"PeerToPeerOrder",
"ThirdParty",
"Order",
"Cancel"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"Status\": 2,\n \"Message\": \"Payment Order Not Found\",\n \"Data\": null\n}"
}
]
}
]
},
{
"name": "Fields & Definitions",
"item": [],
"description": "#### Request Fields\n\n| Parameters | Type | **Description** |\n| --- | --- | --- |\n| emailAddress | string | `Required` The email address of the third party client. |\n| orderReference | string | `Required` The order reference of an order made. |\n\n#### Request Fields\n\n| Parameters | Type | **Description** |\n| --- | --- | --- |\n| data | bool | This can either be true or false. |\n| status | string | This returns a status message of the request. |\n| message | string | This returns an empty string if successful. |",
"auth": {
"type": "noauth"
},
"event": [
{
"listen": "prerequest",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
}
]
}
],
"description": "The `POST` endpoint accepts the request of `emailAddress` & `orderReference` of the third party customer to cancel orders made. The `secretKey` is also needed here in the header.\n\nIf successful returns an \" \" `200`message. See example below;"
},
{
"name": "Confirm Order Completion",
"item": [
{
"name": "APIs",
"item": [
{
"name": "Confirm Order",
"request": {
"method": "POST",
"header": [
{
"key": "secretKey",
"value": "{{secretKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"emailaddress\": \"[email protected]\",\r\n \"orderreference\": \"XB_b3dc11d8810c4c5e987fb64e183d4b0f\"\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/api/PeerToPeerOrder/ThirdParty/Order/Receipt",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"PeerToPeerOrder",
"ThirdParty",
"Order",
"Receipt"
]
}
},
"response": [
{
"name": "Success",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "secretKey",
"value": "{{secretKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"emailaddress\": \"[email protected]\",\r\n \"orderreference\": \"XB_b3dc11d8810c4c5e987fb64e183d4b0f\"\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/api/PeerToPeerOrder/ThirdParty/Order/Receipt",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"PeerToPeerOrder",
"ThirdParty",
"Order",
"Receipt"
]
}
},
"_postman_previewlanguage": "json",
"header": null,
"cookie": [],
"body": "{\n \"Status\": 2,\n \"Message\": \"P2P Order Is Completed Successfully\",\n \"Data\": null\n}"
},
{
"name": "Bad Request If Order Reference Is Invalid",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "secretKey",
"value": "{{secretKey}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"emailaddress\": \"[email protected]\",\r\n \"orderreference\": \"XB_b3dc11d8810c4c5e987fb64e183d\"\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/api/PeerToPeerOrder/ThirdParty/Order/Receipt",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"PeerToPeerOrder",
"ThirdParty",
"Order",
"Receipt"
]
}
},
"_postman_previewlanguage": "json",
"header": null,
"cookie": [],
"body": "{\r\n \"Status\": 2,\r\n \"Message\": \"No Transaction Found For this Order Reference\",\r\n \"Data\": null\r\n}"
}
]
}
]
},
{
"name": "Fields & Definitions",
"item": [],
"description": "#### Request Fields\n\n| Parameters | Type | **Description** |\n| --- | --- | --- |\n| emailAddress | string | `Required` The email address of the third party client. |\n| orderReference | string | `Required` The order reference of an order made. |\n\n#### Response Fields\n\n| Parameters | Type | **Description** |\n| --- | --- | --- |\n| data | bool | This can either be true or false. |\n| status | string | This returns a status message of the request. |\n| message | string | This returns either `Payment acknowledged successfully` if success, or `Payment acknowledgement failed. Please retry later` if failed. |",
"auth": {
"type": "noauth"
},
"event": [
{
"listen": "prerequest",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
}
]
}
],
"description": "The `POST` endpoint sends a request with `secretKey` in the header with `emailAddress` and `orderReference` passed in the body.\n\nThis confirms the receipt of account funding from the provider to the third party customer. It returns the `orderStatus` which is an enum. See examples and field definitions below below;"
}
],
"description": "These has all the endpoints that is needed for a third party that is integrated with XendBridge.\n\n* Get Pending Order\n* Pay For Order\n* Cancel Order\n* Confirm Order Completion"
},
{
"name": "Disputes",
"item": [
{
"name": "Create Dispute",
"item": [
{
"name": "APIs",
"item": [
{
"name": "Create ThirdParty Dispute",
"request": {
"method": "POST",
"header": [
{
"key": "publicKey",
"value": "{{publicKey}}",
"type": "default"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"emailAddress\": \"[email protected]\",\n \"orderReference\": \"XS_78bba9461bb84a54a067f7f1d54e383f\",\n \"remark\": \"where is my money\"\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/api/Dispute/ThirdParty/RaiseDispute",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"Dispute",
"ThirdParty",
"RaiseDispute"
]
},
"description": "**Raise ThirdParty Dispute**\n\nThis raises a third party dispute. Disputes can only be raised for orders that has not been completed and has not been cancelled, the email used must been the email of the customer who placed the order."
},
"response": [
{
"name": "Success",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "publicKey",
"value": "{{publicKey}}"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"emailAddress\": \"[email protected]\",\n \"orderReference\": \"XS_78bba9461bb84a54a067f7f1d54e383f\",\n \"remark\": \"where is my money\"\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/api/Dispute/ThirdParty/RaiseDispute",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"Dispute",
"ThirdParty",
"RaiseDispute"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"data\": {\n \"isSuccessful\": true,\n \"reason\": \"\"\n },\n \"status\": \"OK\",\n \"message\": \"\"\n}"
},
{
"name": "Bad Request",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "publicKey",
"value": "{{publicKey}}"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"emailAddress\": \"[email protected]\",\n \"orderReference\": \"XS_78bba9461bb84a54a067f7f1d54e383f\",\n \"remark\": \"where is my money\"\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/api/Dispute/ThirdParty/RaiseDispute",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"Dispute",
"ThirdParty",
"RaiseDispute"
]
}
},
"_postman_previewlanguage": "json",
"header": null,
"cookie": [],
"body": "{\r\n \"data\": {\r\n \"isSuccessful\": false,\r\n \"reason\": \"Dispute Cannot Be Raised For This Payment Order\"\r\n },\r\n \"status\": \"OK\",\r\n \"message\": \"\"\r\n}"
},
{
"name": "Bad Request If Body is Invalid",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "publicKey",
"value": "{{publicKey}}"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"emailAddress\": \"[email protected]\",\n \"orderReference\": \"XS_78bba9461bb84a54a067f7f1d54e383\",\n \"remark\": \"where is my money\"\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/api/Dispute/ThirdParty/RaiseDispute",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"Dispute",
"ThirdParty",
"RaiseDispute"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"data\": {\n \"isSuccessful\": false,\n \"reason\": \"Could Not Find An Order With A Matching Reference\"\n },\n \"status\": \"OK\",\n \"message\": \"\"\n}"
}
]
}
]
},
{
"name": "Fields & Definitions",
"item": [],
"description": "### Request Fields\n\n| Parameters | Type | **Description** |\n| --- | --- | --- |\n| emailAddress | string | `Required` The email address of the third party client. |\n| orderReference | string | `Required` The order reference of an order made. |\n| remark | string | `Required` This is a remark to be left by the consumer. |\n\n#### Response Fields\n\n| Parameters | Type | **Description** |\n| --- | --- | --- |\n| data | object | This holds the props: `IsSuccessful` and `reason`. |\n| isSuccessful | bool | This returns either true or false. |\n| reason | string | This returns empty if successful. |\n| status | string | The status of the request. |\n| message | string | This returns empty if successful. |",
"auth": {
"type": "noauth"
},
"event": [
{
"listen": "prerequest",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
}
]
}
],
"description": "This `POST` endpoint creates a a dispute for the third party client. The `publicKey` is passed in the header.\n\nThe request body contains the `emailAddress` of the third party, `orderReference` of the order & the `remark` of the third party is also required. See example below;"
},
{
"name": "Comment On Dispute",
"item": [
{
"name": "APIs",
"item": [
{
"name": "Post Dispute Comments For A ThirdParty",
"request": {
"method": "POST",
"header": [
{
"key": "publicKey",
"value": "{{publicKey}}",
"type": "default"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"comment\": \"Where is it really?\",\n \"emailAddress\": \"[email protected]\",\n \"disputeReference\": \"XS_850730bb33ef475c855752712229030f\",\n \"recipient\": 1\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/api/Dispute/ThirdParty/Comment",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"Dispute",
"ThirdParty",
"Comment"
]
}
},
"response": [
{
"name": "Success",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "publicKey",
"value": "{{publicKey}}"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"comment\": \"Where is it really?\",\n \"emailAddress\": \"[email protected]\",\n \"disputeReference\": \"XS_850730bb33ef475c855752712229030f\",\n \"recipient\": 1\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/api/Dispute/ThirdParty/Comment",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"Dispute",
"ThirdParty",
"Comment"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"data\": true,\n \"status\": \"OK\",\n \"message\": \"Comment Added Successfully\"\n}"
},
{
"name": "Bad Request",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "publicKey",
"value": "{{publicKey}}"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"comment\": \"Where is it?\",\n \"emailAddress\": \"[email protected]\",\n \"disputeId\": \"fa62430b-fc4a-4979-39a2-08d9e0c5228d\",\n \"recipient\": 2\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/api/Dispute/ThirdParty/Comment",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"Dispute",
"ThirdParty",
"Comment"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"Status\": 2,\n \"Message\": \"Invalid Sender\",\n \"Data\": null\n}"
}
]
}
]
},
{
"name": "Fields & Definitions",
"item": [],
"description": "#### Request Fields\n\n| Parameters | Type | **Description** |\n| --- | --- | --- |\n| comment | string | `Required` This is the comment to be added by any entity. |\n| emailAddress | string | `Required` The email address of the third party client. |\n| disputeId | string | `Required` The guid of a particular dispute on an order. |\n| recepient | enum | `Required` This is all the entities in a dispute. |\n\n#### Response Fields\n\n| Parameters | Type | **Description** |\n| --- | --- | --- |\n| data | bool | This can either be true or false. |\n| status | string | This returns a status message of the request. |\n| message | string | This returns either a `Comment added successfully` or `Failed to add comment. Please retry` message. |",
"auth": {
"type": "noauth"
},
"event": [
{
"listen": "prerequest",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
}
]
}
],
"description": "The `POST` endpoint sends a comment on a dispute chat. It accepts the `publicKey` in the header while the request body should contain the `comments`, `emailAddress` , `disputeReference` and `recipient` .\n\nIf successful, it returns a message of \"Comment added succeessfully.\" `200`message. See example below;"
},
{
"name": "Get Dispute",
"item": [
{
"name": "APIs",
"item": [
{
"name": "Get All Disputes Raised By ThirdParty",
"request": {
"method": "GET",
"header": [
{
"key": "publicKey",
"value": "{{publicKey}}",
"type": "default"
}
],
"url": {
"raw": "{{baseUrl}}/api/Dispute/ThirdParty?startDate=1632756987000&endDate=1638027387000&disputeStatus=DisputeResolved&page=1&pageSize=50",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"Dispute",
"ThirdParty"
],
"query": [
{
"key": "startDate",
"value": "1632756987000"
},
{
"key": "endDate",
"value": "1638027387000"
},
{
"key": "disputeStatus",
"value": "DisputeResolved"
},
{
"key": "page",
"value": "1"
},
{
"key": "pageSize",
"value": "50"
}
]
},
"description": "**Get All Disputes Raised By ThirdParty**\n\nThis gets all disputes raised by the third party. It accepts params of \"startDate\", \"endDate\", \"disputeStatus\", \"page\" and \"pageSize\". Use epoch coverter to convert datetime for the dates, page and pagesize can be 1 and 50 respectively."
},
"response": [
{
"name": "Success",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "publicKey",
"value": "{{publicKey}}",
"type": "default"
}
],
"url": {
"raw": "{{baseUrl}}/api/Dispute/ThirdParty?startDate=1632756987000&endDate=1638027387000&disputeStatus=DisputeResolved&page=1&pageSize=50",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"Dispute",
"ThirdParty"
],
"query": [
{
"key": "startDate",
"value": "1632756987000"
},
{
"key": "endDate",
"value": "1638027387000"
},
{
"key": "disputeStatus",
"value": "DisputeResolved"
},
{
"key": "page",
"value": "1"
},
{
"key": "pageSize",
"value": "50"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"data\": {\n \"records\": [\n {\n \"id\": \"7a5a3420-f5ec-45d1-7528-08d99a4da05d\",\n \"attachmentUrl\": null,\n \"orderReference\": \"XB_25981ba069034a3da85caf2962228a7d\",\n \"orderId\": \"d9d532e8-d674-410f-1d98-08d99a44c420\",\n \"orderDate\": 1635458254445,\n \"disputeRaisedAt\": 1635458516255,\n \"disputeLastUpdated\": 1638174491805,\n \"disputeStatus\": \"DisputeResolved\",\n \"disputeRaisedBy\": \"Third Party Customer\",\n \"disputeRemark\": \"okay\",\n \"disputeComment\": \"When the clear button should appear on the right side of the text view. This property is supported only for single-line TextInput component. The default value is never.\",\n \"payInCurrency\": \"NGN\",\n \"rceiveInCurrency\": \"BUSD\",\n \"payInAmount\": 50000.000000000,\n \"receiveInAmount\": 100.000000000,\n \"clientPaymentMethod\": \"Bank\",\n \"thirdPartyAppName\": \"Xend Finance\",\n \"providerName\": \"John Doe\",\n \"providerEmail\": \"[email protected]\",\n \"providerPhone\": \"2348181186644\",\n \"customerName\": \"Chidelu\",\n \"customerEmail\": \"[email protected]\",\n \"customerPhone\": \"08167828970\",\n \"disputeChats\": [\n {\n \"id\": \"754e02a0-2022-41c8-c1ff-08d99a4da060\",\n \"receievedAt\": \"2021-10-28T22:01:56.255244\",\n \"receievedAtTimestamp\": 1635458516255.244,\n \"sentBy\": \"ThirdPartyClient\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chidelu\",\n \"message\": \"When the clear button should appear on the right side of the text view. This property is supported only for single-line TextInput component. The default value is never.\"\n },\n {\n \"id\": \"3c863d48-031a-45fc-c200-08d99a4da060\",\n \"receievedAt\": \"2021-10-28T22:02:06.512169\",\n \"receievedAtTimestamp\": 1635458526512.169,\n \"sentBy\": \"ThirdPartyClient\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chidelu\",\n \"message\": \"hello chima\"\n },\n {\n \"id\": \"596f8a08-78e4-44b0-3961-08d9b30f8bad\",\n \"receievedAt\": \"2021-11-29T08:27:31.8829569\",\n \"receievedAtTimestamp\": 1638174451882.9568,\n \"sentBy\": \"Support\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chukwuemeka Nweke\",\n \"message\": \"hey\"\n },\n {\n \"id\": \"73c7ca81-bd50-4a5e-3962-08d9b30f8bad\",\n \"receievedAt\": \"2021-11-29T08:27:44.2995441\",\n \"receievedAtTimestamp\": 1638174464299.544,\n \"sentBy\": \"Support\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chukwuemeka Nweke\",\n \"message\": \"hey\"\n },\n {\n \"id\": \"e3bc8ced-39c5-4cc2-3963-08d9b30f8bad\",\n \"receievedAt\": \"2021-11-29T08:28:11.8055098\",\n \"receievedAtTimestamp\": 1638174491805.5098,\n \"sentBy\": \"Support\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chukwuemeka Nweke\",\n \"message\": \"okay\"\n }\n ]\n },\n {\n \"id\": \"418d660b-49b9-4044-7529-08d99a4da05d\",\n \"attachmentUrl\": null,\n \"orderReference\": \"XB_df46d91b824e41199e602b8035104e2e\",\n \"orderId\": \"3e47e5b2-7e70-47ef-1d99-08d99a44c420\",\n \"orderDate\": 1635460013146,\n \"disputeRaisedAt\": 1635460051177,\n \"disputeLastUpdated\": 1638174369236,\n \"disputeStatus\": \"DisputeResolved\",\n \"disputeRaisedBy\": \"Third Party Customer\",\n \"disputeRemark\": \"hey\",\n \"disputeComment\": \"this.timer = setInterval(()=> this.getMovies(), 1000)\",\n \"payInCurrency\": \"NGN\",\n \"rceiveInCurrency\": \"BUSD\",\n \"payInAmount\": 100000.000000000,\n \"receiveInAmount\": 200.000000000,\n \"clientPaymentMethod\": \"Bank\",\n \"thirdPartyAppName\": \"Xend Finance\",\n \"providerName\": \"John Doe\",\n \"providerEmail\": \"[email protected]\",\n \"providerPhone\": \"2348181186644\",\n \"customerName\": \"Chidelu\",\n \"customerEmail\": \"[email protected]\",\n \"customerPhone\": \"08167828970\",\n \"disputeChats\": [\n {\n \"id\": \"65cf8519-1182-4a7d-c201-08d99a4da060\",\n \"receievedAt\": \"2021-10-28T22:27:31.1773387\",\n \"receievedAtTimestamp\": 1635460051177.3389,\n \"sentBy\": \"ThirdPartyClient\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chidelu\",\n \"message\": \"this.timer = setInterval(()=> this.getMovies(), 1000)\"\n },\n {\n \"id\": \"f79527c3-7972-4b33-c202-08d99a4da060\",\n \"receievedAt\": \"2021-10-28T22:32:42.6369408\",\n \"receievedAtTimestamp\": 1635460362636.941,\n \"sentBy\": \"ThirdPartyClient\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chidelu\",\n \"message\": \"the native element are .focus() and .blur() that will focus or blur the TextInput programmatically.\"\n },\n {\n \"id\": \"bf23e917-9d4c-4e77-5c3e-08d9afa44c2e\",\n \"receievedAt\": \"2021-11-26T05:39:12.3901362\",\n \"receievedAtTimestamp\": 1637905152390.1362,\n \"sentBy\": \"Support\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chukwuemeka Nweke\",\n \"message\": \"ok\"\n },\n {\n \"id\": \"d5b4e8ef-a7b8-4049-5c3f-08d9afa44c2e\",\n \"receievedAt\": \"2021-11-26T05:40:20.2357149\",\n \"receievedAtTimestamp\": 1637905220235.7148,\n \"sentBy\": \"Support\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chukwuemeka Nweke\",\n \"message\": \"mm\"\n },\n {\n \"id\": \"abc10f39-029e-4cfa-3960-08d9b30f8bad\",\n \"receievedAt\": \"2021-11-29T08:26:09.2365532\",\n \"receievedAtTimestamp\": 1638174369236.5532,\n \"sentBy\": \"Support\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chukwuemeka Nweke\",\n \"message\": \"hey\"\n }\n ]\n },\n {\n \"id\": \"2198864a-d787-41df-7cf6-08d9995fa7dc\",\n \"attachmentUrl\": null,\n \"orderReference\": \"XB_efc9586ece82461296be3e68a3281739\",\n \"orderId\": \"389567ca-3858-44fb-e71b-08d9995e3c26\",\n \"orderDate\": 1635428798665,\n \"disputeRaisedAt\": 1635429430665,\n \"disputeLastUpdated\": 1638173359880,\n \"disputeStatus\": \"DisputeResolved\",\n \"disputeRaisedBy\": \"Third Party Customer\",\n \"disputeRemark\": \"Okay\",\n \"disputeComment\": \"The getStateForAction method of the stack navigator's router can be modified as follows to achieve the expected back behavior.\",\n \"payInCurrency\": \"NGN\",\n \"rceiveInCurrency\": \"BUSD\",\n \"payInAmount\": 1161000.000000000,\n \"receiveInAmount\": 2322.000000000,\n \"clientPaymentMethod\": \"Bank\",\n \"thirdPartyAppName\": \"Xend Finance\",\n \"providerName\": \"John Doe\",\n \"providerEmail\": \"[email protected]\",\n \"providerPhone\": \"2348181186644\",\n \"customerName\": \"Chidelu\",\n \"customerEmail\": \"[email protected]\",\n \"customerPhone\": \"08167828970\",\n \"disputeChats\": [\n {\n \"id\": \"b5bb870b-34b1-43ee-d260-08d9995fa7e0\",\n \"receievedAt\": \"2021-10-28T13:57:10.6656149\",\n \"receievedAtTimestamp\": 1635429430665.6147,\n \"sentBy\": \"ThirdPartyClient\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chidelu\",\n \"message\": \"The getStateForAction method of the stack navigator's router can be modified as follows to achieve the expected back behavior.\"\n },\n {\n \"id\": \"ad2147ff-08e7-4f96-5c4a-08d9afa44c2e\",\n \"receievedAt\": \"2021-11-26T06:06:23.4754561\",\n \"receievedAtTimestamp\": 1637906783475.456,\n \"sentBy\": \"Support\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chukwuemeka Nweke\",\n \"message\": \"nmn\"\n },\n {\n \"id\": \"a3e0fc11-5294-4321-395f-08d9b30f8bad\",\n \"receievedAt\": \"2021-11-29T08:09:19.8806259\",\n \"receievedAtTimestamp\": 1638173359880.626,\n \"sentBy\": \"Support\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chukwuemeka Nweke\",\n \"message\": \"Okay\"\n }\n ]\n },\n {\n \"id\": \"2af51f59-c5f1-4eae-5a34-08d99cbfa641\",\n \"attachmentUrl\": null,\n \"orderReference\": \"XB_fe21a06121894c15ba9a5b79a1f5dfe8\",\n \"orderId\": \"372fc51a-6d59-47c6-605b-08d99cbf017f\",\n \"orderDate\": 1635727833495,\n \"disputeRaisedAt\": 1635727951609,\n \"disputeLastUpdated\": 1637906877118,\n \"disputeStatus\": \"DisputeResolved\",\n \"disputeRaisedBy\": \"Third Party Customer\",\n \"disputeRemark\": \"dfghj\",\n \"disputeComment\": \"When calling the show method, you can use the following options to suit your needs. Everything is optional, unless specified otherwise.\",\n \"payInCurrency\": \"NGN\",\n \"rceiveInCurrency\": \"BUSD\",\n \"payInAmount\": 100000.000000000,\n \"receiveInAmount\": 200.000000000,\n \"clientPaymentMethod\": \"Bank\",\n \"thirdPartyAppName\": \"Xend Finance\",\n \"providerName\": \"John Doe\",\n \"providerEmail\": \"[email protected]\",\n \"providerPhone\": \"2348181186644\",\n \"customerName\": \"Chidelu\",\n \"customerEmail\": \"[email protected]\",\n \"customerPhone\": \"08167828970\",\n \"disputeChats\": [\n {\n \"id\": \"b5bb2edb-cb62-422e-a046-08d99cbfa644\",\n \"receievedAt\": \"2021-11-01T00:52:31.609691\",\n \"receievedAtTimestamp\": 1635727951609.691,\n \"sentBy\": \"ThirdPartyClient\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chidelu\",\n \"message\": \"When calling the show method, you can use the following options to suit your needs. Everything is optional, unless specified otherwise.\"\n },\n {\n \"id\": \"3cf44836-0d68-4f2d-a047-08d99cbfa644\",\n \"receievedAt\": \"2021-11-01T00:52:55.3496128\",\n \"receievedAtTimestamp\": 1635727975349.6128,\n \"sentBy\": \"ThirdPartyClient\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chidelu\",\n \"message\": \"The usage of | below, means that only one of the values show should be used. If only one value is shown, that's the default.\"\n },\n {\n \"id\": \"ca67df63-334d-4e35-5c4b-08d9afa44c2e\",\n \"receievedAt\": \"2021-11-26T06:07:57.118096\",\n \"receievedAtTimestamp\": 1637906877118.096,\n \"sentBy\": \"Support\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chukwuemeka Nweke\",\n \"message\": \"dfghj\"\n }\n ]\n },\n {\n \"id\": \"4accce10-a92a-4735-7525-08d99a4da05d\",\n \"attachmentUrl\": null,\n \"orderReference\": \"XB_34a523ebfbe04e22b396649c6e6e5048\",\n \"orderId\": \"f226c1df-be90-4136-1d94-08d99a44c420\",\n \"orderDate\": 1635454082538,\n \"disputeRaisedAt\": 1635454262892,\n \"disputeLastUpdated\": 1637906746893,\n \"disputeStatus\": \"DisputeResolved\",\n \"disputeRaisedBy\": \"Third Party Customer\",\n \"disputeRemark\": \"adjksmf\",\n \"disputeComment\": \"navigation.navigate('p2pTransferConfirm');\",\n \"payInCurrency\": \"NGN\",\n \"rceiveInCurrency\": \"BUSD\",\n \"payInAmount\": 100000.000000000,\n \"receiveInAmount\": 200.000000000,\n \"clientPaymentMethod\": \"Bank\",\n \"thirdPartyAppName\": \"Xend Finance\",\n \"providerName\": \"John Doe\",\n \"providerEmail\": \"[email protected]\",\n \"providerPhone\": \"2348181186644\",\n \"customerName\": \"Chidelu\",\n \"customerEmail\": \"[email protected]\",\n \"customerPhone\": \"08167828970\",\n \"disputeChats\": [\n {\n \"id\": \"94e37043-35ea-4f0e-c1fa-08d99a4da060\",\n \"receievedAt\": \"2021-10-28T20:51:02.8923334\",\n \"receievedAtTimestamp\": 1635454262892.3335,\n \"sentBy\": \"ThirdPartyClient\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chidelu\",\n \"message\": \"navigation.navigate('p2pTransferConfirm');\"\n },\n {\n \"id\": \"217ae0f7-1b79-493b-c1fb-08d99a4da060\",\n \"receievedAt\": \"2021-10-28T21:29:44.2519024\",\n \"receievedAtTimestamp\": 1635456584251.9023,\n \"sentBy\": \"ThirdPartyClient\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chidelu\",\n \"message\": \"You can center absolute items by providing the left property with the width of the device divided by two and subtracting out half of the element you'd like to center's width.\"\n },\n {\n \"id\": \"76df209b-9f89-4d03-c1fc-08d99a4da060\",\n \"receievedAt\": \"2021-10-28T21:30:38.9915914\",\n \"receievedAtTimestamp\": 1635456638991.5913,\n \"sentBy\": \"ThirdPartyClient\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chidelu\",\n \"message\": \"Hi\"\n },\n {\n \"id\": \"3ef3c0d9-7620-4512-5c47-08d9afa44c2e\",\n \"receievedAt\": \"2021-11-26T06:01:31.9081443\",\n \"receievedAtTimestamp\": 1637906491908.1443,\n \"sentBy\": \"Support\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chukwuemeka Nweke\",\n \"message\": \"nm,\"\n },\n {\n \"id\": \"4801a7c5-d7a7-4097-5c48-08d9afa44c2e\",\n \"receievedAt\": \"2021-11-26T06:02:02.7087528\",\n \"receievedAtTimestamp\": 1637906522708.7527,\n \"sentBy\": \"Support\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chukwuemeka Nweke\",\n \"message\": \"ghbj\"\n },\n {\n \"id\": \"f2051303-31f7-4ad8-5c49-08d9afa44c2e\",\n \"receievedAt\": \"2021-11-26T06:05:46.8930619\",\n \"receievedAtTimestamp\": 1637906746893.062,\n \"sentBy\": \"Support\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chukwuemeka Nweke\",\n \"message\": \"adjksmf\"\n }\n ]\n },\n {\n \"id\": \"d976f85d-9a60-484c-7cf3-08d9995fa7dc\",\n \"attachmentUrl\": null,\n \"orderReference\": \"XB_a583594e2bdb4b5bae5e4d5a2718ba92\",\n \"orderId\": \"3840ee71-8e7b-4389-e719-08d9995e3c26\",\n \"orderDate\": 1635427050524,\n \"disputeRaisedAt\": 1635427075263,\n \"disputeLastUpdated\": 1637906457578,\n \"disputeStatus\": \"DisputeResolved\",\n \"disputeRaisedBy\": \"Third Party Customer\",\n \"disputeRemark\": \"jhkl\",\n \"disputeComment\": \"Wrap the child you want centered in a View and make the View absolute\",\n \"payInCurrency\": \"NGN\",\n \"rceiveInCurrency\": \"BUSD\",\n \"payInAmount\": 171000.000000000,\n \"receiveInAmount\": 342.000000000,\n \"clientPaymentMethod\": \"Bank\",\n \"thirdPartyAppName\": \"Xend Finance\",\n \"providerName\": \"John Doe\",\n \"providerEmail\": \"[email protected]\",\n \"providerPhone\": \"2348181186644\",\n \"customerName\": \"Chidelu\",\n \"customerEmail\": \"[email protected]\",\n \"customerPhone\": \"08167828970\",\n \"disputeChats\": [\n {\n \"id\": \"c3425b5f-864f-4b42-d25b-08d9995fa7e0\",\n \"receievedAt\": \"2021-10-28T13:17:55.2639398\",\n \"receievedAtTimestamp\": 1635427075263.9397,\n \"sentBy\": \"ThirdPartyClient\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chidelu\",\n \"message\": \"Wrap the child you want centered in a View and make the View absolute\"\n },\n {\n \"id\": \"ba837993-00ac-4370-d25c-08d9995fa7e0\",\n \"receievedAt\": \"2021-10-28T13:27:44.0750522\",\n \"receievedAtTimestamp\": 1635427664075.0522,\n \"sentBy\": \"ThirdPartyClient\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chidelu\",\n \"message\": \"Wrap the child you want centered in a View and make the View absolute\\n\"\n },\n {\n \"id\": \"1727a5c4-47d5-4249-d25d-08d9995fa7e0\",\n \"receievedAt\": \"2021-10-28T13:28:54.5105309\",\n \"receievedAtTimestamp\": 1635427734510.5308,\n \"sentBy\": \"ThirdPartyClient\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chidelu\",\n \"message\": \"Doesn't this make the View take up ALL clickable space on the screen? E.g if I had a component underneath this absolutely positioned View, I wouldn't be able to register clicks on it\"\n },\n {\n \"id\": \"45ea058e-5d5f-4881-5c44-08d9afa44c2e\",\n \"receievedAt\": \"2021-11-26T05:55:57.2923207\",\n \"receievedAtTimestamp\": 1637906157292.3208,\n \"sentBy\": \"Support\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chukwuemeka Nweke\",\n \"message\": \"hey\"\n },\n {\n \"id\": \"4c7bbd7d-4577-4b33-5c45-08d9afa44c2e\",\n \"receievedAt\": \"2021-11-26T05:57:06.451844\",\n \"receievedAtTimestamp\": 1637906226451.844,\n \"sentBy\": \"Support\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chukwuemeka Nweke\",\n \"message\": \"bnm,\"\n },\n {\n \"id\": \"39f804fa-ef84-488f-5c46-08d9afa44c2e\",\n \"receievedAt\": \"2021-11-26T06:00:57.5783618\",\n \"receievedAtTimestamp\": 1637906457578.3618,\n \"sentBy\": \"Support\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chukwuemeka Nweke\",\n \"message\": \"jhkl\"\n }\n ]\n },\n {\n \"id\": \"bae632e9-cf8f-4343-7523-08d99a4da05d\",\n \"attachmentUrl\": null,\n \"orderReference\": \"XB_4e833c157c9f4faf8d7fff74527755e8\",\n \"orderId\": \"3fe87502-b021-4688-1d92-08d99a44c420\",\n \"orderDate\": 1635448375736,\n \"disputeRaisedAt\": 1635451244322,\n \"disputeLastUpdated\": 1637905909480,\n \"disputeStatus\": \"DisputeResolved\",\n \"disputeRaisedBy\": \"Third Party Customer\",\n \"disputeRemark\": \"bnb\",\n \"disputeComment\": \"Note that some props are only available with multiline={true/false}. Additionally, border styles that apply to \",\n \"payInCurrency\": \"NGN\",\n \"rceiveInCurrency\": \"BUSD\",\n \"payInAmount\": 100000.000000000,\n \"receiveInAmount\": 200.000000000,\n \"clientPaymentMethod\": \"Bank\",\n \"thirdPartyAppName\": \"Xend Finance\",\n \"providerName\": \"John Doe\",\n \"providerEmail\": \"[email protected]\",\n \"providerPhone\": \"2348181186644\",\n \"customerName\": \"Chidelu\",\n \"customerEmail\": \"[email protected]\",\n \"customerPhone\": \"08167828970\",\n \"disputeChats\": [\n {\n \"id\": \"b5e75148-b59d-43e8-c1f8-08d99a4da060\",\n \"receievedAt\": \"2021-10-28T20:00:44.3229466\",\n \"receievedAtTimestamp\": 1635451244322.9465,\n \"sentBy\": \"ThirdPartyClient\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chidelu\",\n \"message\": \"Note that some props are only available with multiline={true/false}. Additionally, border styles that apply to \"\n },\n {\n \"id\": \"f44281cf-ba56-467a-5c42-08d9afa44c2e\",\n \"receievedAt\": \"2021-11-26T05:51:38.1580584\",\n \"receievedAtTimestamp\": 1637905898158.0583,\n \"sentBy\": \"Support\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chukwuemeka Nweke\",\n \"message\": \"jhk\"\n },\n {\n \"id\": \"aa8e7fd3-14e1-40fc-5c43-08d9afa44c2e\",\n \"receievedAt\": \"2021-11-26T05:51:49.4804844\",\n \"receievedAtTimestamp\": 1637905909480.4844,\n \"sentBy\": \"Support\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chukwuemeka Nweke\",\n \"message\": \"bnb\"\n }\n ]\n },\n {\n \"id\": \"e1ced55c-14da-4324-7cf5-08d9995fa7dc\",\n \"attachmentUrl\": null,\n \"orderReference\": \"XB_efc9586ece82461296be3e68a3281739\",\n \"orderId\": \"389567ca-3858-44fb-e71b-08d9995e3c26\",\n \"orderDate\": 1635428798665,\n \"disputeRaisedAt\": 1635429218458,\n \"disputeLastUpdated\": 1637905455375,\n \"disputeStatus\": \"DisputeResolved\",\n \"disputeRaisedBy\": \"Third Party Customer\",\n \"disputeRemark\": \"m,,,\",\n \"disputeComment\": \"The getStateForAction method of the stack navigator's router can be modified as follows to achieve the expected back behavior.\",\n \"payInCurrency\": \"NGN\",\n \"rceiveInCurrency\": \"BUSD\",\n \"payInAmount\": 1161000.000000000,\n \"receiveInAmount\": 2322.000000000,\n \"clientPaymentMethod\": \"Bank\",\n \"thirdPartyAppName\": \"Xend Finance\",\n \"providerName\": \"John Doe\",\n \"providerEmail\": \"[email protected]\",\n \"providerPhone\": \"2348181186644\",\n \"customerName\": \"Chidelu\",\n \"customerEmail\": \"[email protected]\",\n \"customerPhone\": \"08167828970\",\n \"disputeChats\": [\n {\n \"id\": \"8977de2d-753e-4e57-d25f-08d9995fa7e0\",\n \"receievedAt\": \"2021-10-28T13:53:38.4581802\",\n \"receievedAtTimestamp\": 1635429218458.1802,\n \"sentBy\": \"ThirdPartyClient\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chidelu\",\n \"message\": \"The getStateForAction method of the stack navigator's router can be modified as follows to achieve the expected back behavior.\"\n },\n {\n \"id\": \"e7efbd43-2ba5-434b-5c41-08d9afa44c2e\",\n \"receievedAt\": \"2021-11-26T05:44:15.3755189\",\n \"receievedAtTimestamp\": 1637905455375.5188,\n \"sentBy\": \"Support\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chukwuemeka Nweke\",\n \"message\": \"m,,,\"\n }\n ]\n },\n {\n \"id\": \"6d663c09-b769-4e50-7527-08d99a4da05d\",\n \"attachmentUrl\": null,\n \"orderReference\": \"XB_4776da8b3dfc4e24b2f60e41e38ad69c\",\n \"orderId\": \"65417645-ea56-419a-1d96-08d99a44c420\",\n \"orderDate\": 1635457796619,\n \"disputeRaisedAt\": 1635458013465,\n \"disputeLastUpdated\": 1637905252900,\n \"disputeStatus\": \"DisputeResolved\",\n \"disputeRaisedBy\": \"Third Party Customer\",\n \"disputeRemark\": \"mmm nm\",\n \"disputeComment\": \"When the clear button should appear on the right side of the text view. This property is supported only for single-line TextInput component. The default value is never.\",\n \"payInCurrency\": \"NGN\",\n \"rceiveInCurrency\": \"BUSD\",\n \"payInAmount\": 1621500.000000000,\n \"receiveInAmount\": 3243.000000000,\n \"clientPaymentMethod\": \"Bank\",\n \"thirdPartyAppName\": \"Xend Finance\",\n \"providerName\": \"John Doe\",\n \"providerEmail\": \"[email protected]\",\n \"providerPhone\": \"2348181186644\",\n \"customerName\": \"Chidelu\",\n \"customerEmail\": \"[email protected]\",\n \"customerPhone\": \"08167828970\",\n \"disputeChats\": [\n {\n \"id\": \"65b85a98-787d-4ef7-c1fe-08d99a4da060\",\n \"receievedAt\": \"2021-10-28T21:53:33.4657404\",\n \"receievedAtTimestamp\": 1635458013465.7405,\n \"sentBy\": \"ThirdPartyClient\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chidelu\",\n \"message\": \"When the clear button should appear on the right side of the text view. This property is supported only for single-line TextInput component. The default value is never.\"\n },\n {\n \"id\": \"f4142c38-ea27-4974-5c40-08d9afa44c2e\",\n \"receievedAt\": \"2021-11-26T05:40:52.9009754\",\n \"receievedAtTimestamp\": 1637905252900.9753,\n \"sentBy\": \"Support\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chukwuemeka Nweke\",\n \"message\": \"mmm nm\"\n }\n ]\n },\n {\n \"id\": \"1540bc69-7a65-4e1f-5a35-08d99cbfa641\",\n \"attachmentUrl\": null,\n \"orderReference\": \"XB_977d2ff2a5a84f71ae630e372d13f58f\",\n \"orderId\": \"3c55b919-9ab6-47fb-605c-08d99cbf017f\",\n \"orderDate\": 1635728202293,\n \"disputeRaisedAt\": 1635728540009,\n \"disputeLastUpdated\": 1637905075400,\n \"disputeStatus\": \"DisputeResolved\",\n \"disputeRaisedBy\": \"Third Party Customer\",\n \"disputeRemark\": \"Hey\",\n \"disputeComment\": \"The usage of | below, means that only one of the values show should be used. If only one value is shown, that's the default.\\n\",\n \"payInCurrency\": \"NGN\",\n \"rceiveInCurrency\": \"BUSD\",\n \"payInAmount\": 61500.000000000,\n \"receiveInAmount\": 123.000000000,\n \"clientPaymentMethod\": \"Bank\",\n \"thirdPartyAppName\": \"Xend Finance\",\n \"providerName\": \"John Doe\",\n \"providerEmail\": \"[email protected]\",\n \"providerPhone\": \"2348181186644\",\n \"customerName\": \"Chidelu\",\n \"customerEmail\": \"[email protected]\",\n \"customerPhone\": \"08167828970\",\n \"disputeChats\": [\n {\n \"id\": \"8b14a434-cf4f-45d0-a048-08d99cbfa644\",\n \"receievedAt\": \"2021-11-01T01:02:20.0099151\",\n \"receievedAtTimestamp\": 1635728540009.9153,\n \"sentBy\": \"ThirdPartyClient\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chidelu\",\n \"message\": \"The usage of | below, means that only one of the values show should be used. If only one value is shown, that's the default.\\n\"\n },\n {\n \"id\": \"06b6a14d-d894-4129-a049-08d99cbfa644\",\n \"receievedAt\": \"2021-11-01T01:02:56.3788758\",\n \"receievedAtTimestamp\": 1635728576378.8757,\n \"sentBy\": \"ThirdPartyClient\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chidelu\",\n \"message\": \"When calling the show method, you can use the following options to suit your needs. Everything is optional, unless specified otherwise.\"\n },\n {\n \"id\": \"19a80e26-c9bf-472b-5c3b-08d9afa44c2e\",\n \"receievedAt\": \"2021-11-26T05:29:10.2180019\",\n \"receievedAtTimestamp\": 1637904550218.002,\n \"sentBy\": \"Support\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chukwuemeka Nweke\",\n \"message\": \"Hey\"\n },\n {\n \"id\": \"1f271103-aa7c-46a2-5c3c-08d9afa44c2e\",\n \"receievedAt\": \"2021-11-26T05:34:53.3210266\",\n \"receievedAtTimestamp\": 1637904893321.0266,\n \"sentBy\": \"Support\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chukwuemeka Nweke\",\n \"message\": \"Hey\"\n },\n {\n \"id\": \"c2833f77-8058-4af9-5c3d-08d9afa44c2e\",\n \"receievedAt\": \"2021-11-26T05:37:55.4007895\",\n \"receievedAtTimestamp\": 1637905075400.7896,\n \"sentBy\": \"Support\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chukwuemeka Nweke\",\n \"message\": \"Hey\"\n }\n ]\n },\n {\n \"id\": \"3391de15-8e7b-43e3-79db-08d9a787c3df\",\n \"attachmentUrl\": null,\n \"orderReference\": \"XB_465b756e30ce42c2a37c9f1955a7f992\",\n \"orderId\": \"95d3a739-66a5-4a65-8660-08d9a786d06e\",\n \"orderDate\": 1636905171397,\n \"disputeRaisedAt\": 1636905579820,\n \"disputeLastUpdated\": 1637891039459,\n \"disputeStatus\": \"DisputeResolved\",\n \"disputeRaisedBy\": \"Third Party Customer\",\n \"disputeRemark\": \"okay\",\n \"disputeComment\": \"Hello\",\n \"payInCurrency\": \"NGN\",\n \"rceiveInCurrency\": \"BUSD\",\n \"payInAmount\": 3000.000000000,\n \"receiveInAmount\": 5.405405410,\n \"clientPaymentMethod\": \"Bank\",\n \"thirdPartyAppName\": \"Xend Finance\",\n \"providerName\": \"Nnadozie Ohaeri\",\n \"providerEmail\": \"[email protected]\",\n \"providerPhone\": \"2348062069869\",\n \"customerName\": \"kasheef\",\n \"customerEmail\": \"[email protected]\",\n \"customerPhone\": \"08135057971\",\n \"disputeChats\": [\n {\n \"id\": \"373e9606-7144-4d5e-87e4-08d9a787c3e3\",\n \"receievedAt\": \"2021-11-14T15:59:39.8206888\",\n \"receievedAtTimestamp\": 1636905579820.6887,\n \"sentBy\": \"ThirdPartyClient\",\n \"sentTo\": \"All\",\n \"senderName\": \"kasheef\",\n \"message\": \"Hello\"\n },\n {\n \"id\": \"4b1e0bf3-ac7b-44d2-5c35-08d9afa44c2e\",\n \"receievedAt\": \"2021-11-26T01:38:11.5461308\",\n \"receievedAtTimestamp\": 1637890691546.1309,\n \"sentBy\": \"Support\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chukwuemeka Nweke\",\n \"message\": \"hey\"\n },\n {\n \"id\": \"933cc579-cdec-483d-5c36-08d9afa44c2e\",\n \"receievedAt\": \"2021-11-26T01:40:08.8215939\",\n \"receievedAtTimestamp\": 1637890808821.594,\n \"sentBy\": \"Support\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chukwuemeka Nweke\",\n \"message\": \"kljkl\"\n },\n {\n \"id\": \"c51d5467-af01-43b0-5c37-08d9afa44c2e\",\n \"receievedAt\": \"2021-11-26T01:40:59.7558694\",\n \"receievedAtTimestamp\": 1637890859755.8694,\n \"sentBy\": \"Support\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chukwuemeka Nweke\",\n \"message\": \"fghb m\"\n },\n {\n \"id\": \"43df985d-20ee-4966-5c38-08d9afa44c2e\",\n \"receievedAt\": \"2021-11-26T01:42:02.8344537\",\n \"receievedAtTimestamp\": 1637890922834.4536,\n \"sentBy\": \"Support\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chukwuemeka Nweke\",\n \"message\": \"bnm \"\n },\n {\n \"id\": \"487862d9-1bdd-4b1c-5c39-08d9afa44c2e\",\n \"receievedAt\": \"2021-11-26T01:43:13.611148\",\n \"receievedAtTimestamp\": 1637890993611.148,\n \"sentBy\": \"Support\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chukwuemeka Nweke\",\n \"message\": \"okay\"\n },\n {\n \"id\": \"32242fe2-cafb-42a7-5c3a-08d9afa44c2e\",\n \"receievedAt\": \"2021-11-26T01:43:59.4590345\",\n \"receievedAtTimestamp\": 1637891039459.0344,\n \"sentBy\": \"Support\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chukwuemeka Nweke\",\n \"message\": \"okay\"\n }\n ]\n },\n {\n \"id\": \"c58a496f-6020-4b89-7524-08d99a4da05d\",\n \"attachmentUrl\": null,\n \"orderReference\": \"XB_fdd11983170244a5b191835164bc3b30\",\n \"orderId\": \"ad7eaf16-ccd0-4545-1d93-08d99a44c420\",\n \"orderDate\": 1635451826237,\n \"disputeRaisedAt\": 1635452588985,\n \"disputeLastUpdated\": 1637859151505,\n \"disputeStatus\": \"DisputeResolved\",\n \"disputeRaisedBy\": \"Third Party Customer\",\n \"disputeRemark\": \"Hello\",\n \"disputeComment\": \"You can center absolute items by providing the left property with the width of the device divided by two and subtracting out half of the element you'd like to center's width.\",\n \"payInCurrency\": \"NGN\",\n \"rceiveInCurrency\": \"BUSD\",\n \"payInAmount\": 50000.000000000,\n \"receiveInAmount\": 100.000000000,\n \"clientPaymentMethod\": \"Bank\",\n \"thirdPartyAppName\": \"Xend Finance\",\n \"providerName\": \"John Doe\",\n \"providerEmail\": \"[email protected]\",\n \"providerPhone\": \"2348181186644\",\n \"customerName\": \"Chidelu\",\n \"customerEmail\": \"[email protected]\",\n \"customerPhone\": \"08167828970\",\n \"disputeChats\": [\n {\n \"id\": \"93fd3800-b0cd-40d4-c1f9-08d99a4da060\",\n \"receievedAt\": \"2021-10-28T20:23:08.9854916\",\n \"receievedAtTimestamp\": 1635452588985.4917,\n \"sentBy\": \"ThirdPartyClient\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chidelu\",\n \"message\": \"You can center absolute items by providing the left property with the width of the device divided by two and subtracting out half of the element you'd like to center's width.\"\n },\n {\n \"id\": \"2a664446-8ae3-4b59-5c1b-08d9afa44c2e\",\n \"receievedAt\": \"2021-11-25T16:46:28.5168883\",\n \"receievedAtTimestamp\": 1637858788516.8884,\n \"sentBy\": \"Support\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chukwuemeka Nweke\",\n \"message\": \"hey\"\n },\n {\n \"id\": \"4da4d12d-51c1-4317-5c1c-08d9afa44c2e\",\n \"receievedAt\": \"2021-11-25T16:50:17.4042975\",\n \"receievedAtTimestamp\": 1637859017404.2976,\n \"sentBy\": \"Support\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chukwuemeka Nweke\",\n \"message\": \"Okay\"\n },\n {\n \"id\": \"efc47b02-91dc-4ae2-5c1d-08d9afa44c2e\",\n \"receievedAt\": \"2021-11-25T16:52:31.5057139\",\n \"receievedAtTimestamp\": 1637859151505.714,\n \"sentBy\": \"Support\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chukwuemeka Nweke\",\n \"message\": \"Hello\"\n }\n ]\n },\n {\n \"id\": \"15e85254-9a1e-458b-81a6-08d9a949e50f\",\n \"attachmentUrl\": null,\n \"orderReference\": \"XS_b01598e21dc54276ae6f83a0fe6b5768\",\n \"orderId\": \"32b4f7c0-a735-4a19-6797-08d9a9499f58\",\n \"orderDate\": 1637098792069,\n \"disputeRaisedAt\": 1637098909021,\n \"disputeLastUpdated\": 1637797919148,\n \"disputeStatus\": \"DisputeResolved\",\n \"disputeRaisedBy\": \"Third Party Customer\",\n \"disputeRemark\": \"vx cm\",\n \"disputeComment\": \"I didn’t get my money \\n\\n\",\n \"payInCurrency\": \"BUSD\",\n \"rceiveInCurrency\": \"NGN\",\n \"payInAmount\": 20.000000000,\n \"receiveInAmount\": 11200.000000000,\n \"clientPaymentMethod\": \"Crypto\",\n \"thirdPartyAppName\": \"Xend Finance\",\n \"providerName\": \"Nnadozie Ohaeri\",\n \"providerEmail\": \"[email protected]\",\n \"providerPhone\": \"2348062069869\",\n \"customerName\": \"Genny\",\n \"customerEmail\": \"[email protected]\",\n \"customerPhone\": \"08165018668\",\n \"disputeChats\": [\n {\n \"id\": \"b3e1e028-7ccf-45a2-62fa-08d9a910d433\",\n \"receievedAt\": \"2021-11-16T21:41:49.0215881\",\n \"receievedAtTimestamp\": 1637098909021.588,\n \"sentBy\": \"ThirdPartyClient\",\n \"sentTo\": \"All\",\n \"senderName\": \"Genny\",\n \"message\": \"I didn’t get my money \\n\\n\"\n },\n {\n \"id\": \"84fac72c-3edb-47f9-62fb-08d9a910d433\",\n \"receievedAt\": \"2021-11-16T21:41:57.1884264\",\n \"receievedAtTimestamp\": 1637098917188.4265,\n \"sentBy\": \"ThirdPartyClient\",\n \"sentTo\": \"All\",\n \"senderName\": \"Genny\",\n \"message\": \"Yes\"\n },\n {\n \"id\": \"47c351e0-e466-427b-5c15-08d9afa44c2e\",\n \"receievedAt\": \"2021-11-24T23:44:03.6811316\",\n \"receievedAtTimestamp\": 1637797443681.1316,\n \"sentBy\": \"Support\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chukwuemeka Nweke\",\n \"message\": \"hey\"\n },\n {\n \"id\": \"f9e46143-ecff-46b4-5c16-08d9afa44c2e\",\n \"receievedAt\": \"2021-11-24T23:46:43.7963393\",\n \"receievedAtTimestamp\": 1637797603796.339,\n \"sentBy\": \"Support\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chukwuemeka Nweke\",\n \"message\": \"hi\"\n },\n {\n \"id\": \"79059e22-edaa-4895-5c17-08d9afa44c2e\",\n \"receievedAt\": \"2021-11-24T23:48:14.7879068\",\n \"receievedAtTimestamp\": 1637797694787.9067,\n \"sentBy\": \"Support\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chukwuemeka Nweke\",\n \"message\": \"Hello\"\n },\n {\n \"id\": \"430cf3b6-39a3-421d-5c18-08d9afa44c2e\",\n \"receievedAt\": \"2021-11-24T23:49:16.9079087\",\n \"receievedAtTimestamp\": 1637797756907.9087,\n \"sentBy\": \"Support\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chukwuemeka Nweke\",\n \"message\": \"m\"\n },\n {\n \"id\": \"d6e73efe-574d-47a3-5c19-08d9afa44c2e\",\n \"receievedAt\": \"2021-11-24T23:50:45.1585362\",\n \"receievedAtTimestamp\": 1637797845158.5361,\n \"sentBy\": \"Support\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chukwuemeka Nweke\",\n \"message\": \"ddvf\"\n },\n {\n \"id\": \"89ea4aad-0e2a-43e0-5c1a-08d9afa44c2e\",\n \"receievedAt\": \"2021-11-24T23:51:59.1484093\",\n \"receievedAtTimestamp\": 1637797919148.4092,\n \"sentBy\": \"Support\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chukwuemeka Nweke\",\n \"message\": \"vx cm\"\n }\n ]\n },\n {\n \"id\": \"8525c455-551a-4b16-5a32-08d99cbfa641\",\n \"attachmentUrl\": \"https://res.cloudinary.com/chukwuemekanweke/image/upload/v1635720118/xend_cashlink_dispute_claims/1e976be2-64f2-44fb-9f77-46ab4d4fd667.jpg\",\n \"orderReference\": \"XB_a3dab302053a43768dbf39df381afb5d\",\n \"orderId\": \"f83e74d5-dea2-4b7f-6058-08d99cbf017f\",\n \"orderDate\": 1635719842743,\n \"disputeRaisedAt\": 1635720118432,\n \"disputeLastUpdated\": 1637706728829,\n \"disputeStatus\": \"DisputeResolved\",\n \"disputeRaisedBy\": \"Third Party Customer\",\n \"disputeRemark\": \"Hey\",\n \"disputeComment\": \"Manchester United bounced back in the Premier League with an impressive 3-0 win over Tottenham Hotspur away from home. Still, they remain 8 points behind league leaders Chelsea.\\n\\n\",\n \"payInCurrency\": \"NGN\",\n \"rceiveInCurrency\": \"BUSD\",\n \"payInAmount\": 100000.000000000,\n \"receiveInAmount\": 200.000000000,\n \"clientPaymentMethod\": \"Bank\",\n \"thirdPartyAppName\": \"Xend Finance\",\n \"providerName\": \"John Doe\",\n \"providerEmail\": \"[email protected]\",\n \"providerPhone\": \"2348181186644\",\n \"customerName\": \"Chidelu\",\n \"customerEmail\": \"[email protected]\",\n \"customerPhone\": \"08167828970\",\n \"disputeChats\": [\n {\n \"id\": \"ccc6be97-d16e-46f1-a040-08d99cbfa644\",\n \"receievedAt\": \"2021-10-31T22:41:58.4324387\",\n \"receievedAtTimestamp\": 1635720118432.4387,\n \"sentBy\": \"ThirdPartyClient\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chidelu\",\n \"message\": \"Manchester United bounced back in the Premier League with an impressive 3-0 win over Tottenham Hotspur away from home. Still, they remain 8 points behind league leaders Chelsea.\\n\\n\"\n },\n {\n \"id\": \"9246dcf8-e659-4af8-a041-08d99cbfa644\",\n \"receievedAt\": \"2021-10-31T22:45:36.1106464\",\n \"receievedAtTimestamp\": 1635720336110.6465,\n \"sentBy\": \"ThirdPartyClient\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chidelu\",\n \"message\": \"You can’t just say it was Mourinho, you can’t just say it was Pochettino because it’s happened under Nuno too.\"\n },\n {\n \"id\": \"8d5fc9f8-4ae2-455b-622d-08d9aed115e5\",\n \"receievedAt\": \"2021-11-23T22:32:08.829095\",\n \"receievedAtTimestamp\": 1637706728829.095,\n \"sentBy\": \"Support\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chukwuemeka Nweke\",\n \"message\": \"Hey\"\n }\n ]\n },\n {\n \"id\": \"345b51ee-718e-4980-5a36-08d99cbfa641\",\n \"attachmentUrl\": \"https://res.cloudinary.com/chukwuemekanweke/image/upload/v1635730627/xend_cashlink_dispute_claims/916352c6-96cc-4325-9083-0beeae8d6f90.jpg\",\n \"orderReference\": \"XB_51c20ff06504498ab1a9d510c8c7be2f\",\n \"orderId\": \"242ab98b-2497-4f2b-605e-08d99cbf017f\",\n \"orderDate\": 1635730527793,\n \"disputeRaisedAt\": 1635730627418,\n \"disputeLastUpdated\": 1637242344935,\n \"disputeStatus\": \"DisputeResolved\",\n \"disputeRaisedBy\": \"Third Party Customer\",\n \"disputeRemark\": \"okay\",\n \"disputeComment\": \"iOS/Android image picker with support for camera, video, configurable compression, multiple images and cropping\",\n \"payInCurrency\": \"NGN\",\n \"rceiveInCurrency\": \"BUSD\",\n \"payInAmount\": 1166000.000000000,\n \"receiveInAmount\": 2332.000000000,\n \"clientPaymentMethod\": \"Bank\",\n \"thirdPartyAppName\": \"Xend Finance\",\n \"providerName\": \"John Doe\",\n \"providerEmail\": \"[email protected]\",\n \"providerPhone\": \"2348181186644\",\n \"customerName\": \"Chidelu\",\n \"customerEmail\": \"[email protected]\",\n \"customerPhone\": \"08167828970\",\n \"disputeChats\": [\n {\n \"id\": \"13aa56d4-0b9c-4ecd-a04a-08d99cbfa644\",\n \"receievedAt\": \"2021-11-01T01:37:07.4181269\",\n \"receievedAtTimestamp\": 1635730627418.1267,\n \"sentBy\": \"ThirdPartyClient\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chidelu\",\n \"message\": \"iOS/Android image picker with support for camera, video, configurable compression, multiple images and cropping\"\n },\n {\n \"id\": \"64ebd908-72a2-4a8b-e8f7-08d99fc77c44\",\n \"receievedAt\": \"2021-11-04T19:17:35.5617976\",\n \"receievedAtTimestamp\": 1636053455561.7976,\n \"sentBy\": \"Support\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chukwuemeka Nweke\",\n \"message\": \"Hello\"\n },\n {\n \"id\": \"94e1d871-aba0-4d7e-e8f8-08d99fc77c44\",\n \"receievedAt\": \"2021-11-04T19:30:04.9695595\",\n \"receievedAtTimestamp\": 1636054204969.5596,\n \"sentBy\": \"Support\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chukwuemeka Nweke\",\n \"message\": \"Hey\"\n },\n {\n \"id\": \"1dd6d403-1578-4524-e8f9-08d99fc77c44\",\n \"receievedAt\": \"2021-11-04T19:32:57.3825831\",\n \"receievedAtTimestamp\": 1636054377382.5833,\n \"sentBy\": \"Support\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chukwuemeka Nweke\",\n \"message\": \"Hi\"\n },\n {\n \"id\": \"cd6aaca8-7e21-453d-e8fa-08d99fc77c44\",\n \"receievedAt\": \"2021-11-04T19:35:53.8404905\",\n \"receievedAtTimestamp\": 1636054553840.4905,\n \"sentBy\": \"Support\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chukwuemeka Nweke\",\n \"message\": \"Okay\"\n },\n {\n \"id\": \"1b56b03c-0433-4094-5d71-08d9aa935438\",\n \"receievedAt\": \"2021-11-18T13:32:24.9350751\",\n \"receievedAtTimestamp\": 1637242344935.0752,\n \"sentBy\": \"Support\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chukwuemeka Nweke\",\n \"message\": \"okay\"\n }\n ]\n },\n {\n \"id\": \"4d86a013-55d3-47cf-5a37-08d99cbfa641\",\n \"attachmentUrl\": null,\n \"orderReference\": \"XS_7a683536b6c345d4ad0f1e8abc3a475c\",\n \"orderId\": \"44ad0ab6-acf6-4fee-605f-08d99cbf017f\",\n \"orderDate\": 1635730837750,\n \"disputeRaisedAt\": 1635730946913,\n \"disputeLastUpdated\": 1636489335101,\n \"disputeStatus\": \"DisputeResolved\",\n \"disputeRaisedBy\": \"Third Party Customer\",\n \"disputeRemark\": \"Hello\",\n \"disputeComment\": \"There is a transaction limit of minimum $20 and $10,000 per single transaction for users. This means that a user cannot purchase more than $10,000 in a single transaction but it can be done with multiple transactions.\",\n \"payInCurrency\": \"BUSD\",\n \"rceiveInCurrency\": \"NGN\",\n \"payInAmount\": 10000.000000000,\n \"receiveInAmount\": 20000000.000000000,\n \"clientPaymentMethod\": \"Crypto\",\n \"thirdPartyAppName\": \"Xend Finance\",\n \"providerName\": \"John Doe\",\n \"providerEmail\": \"[email protected]\",\n \"providerPhone\": \"2348181186644\",\n \"customerName\": \"Chidelu\",\n \"customerEmail\": \"[email protected]\",\n \"customerPhone\": \"08167828970\",\n \"disputeChats\": [\n {\n \"id\": \"4ca8260c-8fa4-4a92-a04b-08d99cbfa644\",\n \"receievedAt\": \"2021-11-01T01:42:26.9136322\",\n \"receievedAtTimestamp\": 1635730946913.632,\n \"sentBy\": \"ThirdPartyClient\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chidelu\",\n \"message\": \"There is a transaction limit of minimum $20 and $10,000 per single transaction for users. This means that a user cannot purchase more than $10,000 in a single transaction but it can be done with multiple transactions.\"\n },\n {\n \"id\": \"d687cbda-bbf8-486f-a04c-08d99cbfa644\",\n \"receievedAt\": \"2021-11-01T01:42:34.1738227\",\n \"receievedAtTimestamp\": 1635730954173.8228,\n \"sentBy\": \"ThirdPartyClient\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chidelu\",\n \"message\": \"There is a transaction limit of minimum $20 and $10,000 per single transaction for users. This means that a user cannot purchase more than $10,000 in a single transaction but it can be done with multiple transactions.\"\n },\n {\n \"id\": \"f57d43e2-83f0-4995-c5a9-08d9a3be9eb4\",\n \"receievedAt\": \"2021-11-09T20:22:15.1017563\",\n \"receievedAtTimestamp\": 1636489335101.7563,\n \"sentBy\": \"Support\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chukwuemeka Nweke\",\n \"message\": \"Hello\"\n }\n ]\n }\n ],\n \"pageSize\": 50,\n \"currentPage\": 1,\n \"totalPages\": 1,\n \"totalRecords\": 16\n },\n \"status\": \"OK\",\n \"message\": \"\"\n}"
},
{
"name": "Bad Request",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: apikey",
"key": "Authorization",
"value": "<API Key>"
},
{
"key": "secretKey",
"value": "laboris dolore"
}
],
"url": {
"raw": "{{baseUrl}}/api/Dispute/ThirdParty?startDate=72575238.11414726&endDate=72575238.11414726&disputeStatus=DisputeResolved&page=1&pageSize=50",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"Dispute",
"ThirdParty"
],
"query": [
{
"key": "startDate",
"value": "72575238.11414726"
},
{
"key": "endDate",
"value": "72575238.11414726"
},
{
"key": "disputeStatus",
"value": "DisputeResolved"
},
{
"key": "page",
"value": "1"
},
{
"key": "pageSize",
"value": "50"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"data\": {\n \"records\": [],\n \"pageSize\": 50,\n \"currentPage\": 1,\n \"totalPages\": 0,\n \"totalRecords\": 0\n },\n \"status\": \"OK\",\n \"message\": \"\"\n}"
}
]
}
]
},
{
"name": "Fields & Definitions",
"item": [],
"description": "#### Params Fields\n\n| Parameters | Type | **Description** |\n| --- | --- | --- |\n| startDate | double | `Required` The date and time of the start of a dispute in milliseconds. |\n| endDate | double | `Required` The end date and time of the end of dispute in milliseconds. |\n| disputeStatus | enum | `Required`The status of the dispute on an order. It could either be `OpenDispute`, `DisputeBeingAttendedTo` or `DisputeResolved`. |\n| page | int | `Required` This is the number of a page with a specific page size of disputes. |\n| pageSize | int | `Required` This is the number of the size of disputes on a page. |\n\n#### Response Fields\n\n| Parameters | Type | **Description** |\n| --- | --- | --- |\n| data | object | This holds the props; `records`, `pageSize`, `currentPage`, `totalPages` & `totalRecords`. |\n| id | guid | This is the id of the record in the database. |\n| attachmentUrl | string | This is any media url attachment posted in a dispute. |\n| orderReference | string | The order reference of an order made. |\n| orderId | guid | The guid of an order record in the database. |\n| orderDate | long | The date and time when that order was made in milliseconds. |\n| disputeRaisedAt | long | The date and time the dispute was raised at in milliseconds. |\n| disputeLastUpdatedAt | long | The last date and time update on a dispute in milliseconds |\n| disputeStatus | enum | The status of the dispute on an order. It could either be `OpenDispute`, `DisputeBeingAttendedTo` or `DisputeResolved`. |\n| disputeRaisedBy | enum | This is the entity who raised the dispute. |\n| disputeRemark | string | This is the remark on a dispute by any participant. |\n| disputeComment | string | This is the comment by the consumer of the dispute. |\n| payinCurrency | enum | This is the currency in which the order is paid in. |\n| recieveInCurrency | enum | This is the currency in which the order is received in. |\n| payInAmount | decimal | This is the amount of the order to be paid to. |\n| receiveInAmount | decimal | This is the amount of the order to be received in. |\n| clientPaymentMethod | enum | This is the customer's payment method. |\n| thirdPartyAppName | string | This is the Third party app integrated with XendBridge. |\n| providerName | string | This is the name of the provider. |\n| providerEmail | string | This is the email address of the provider. |\n| providerPhone | string | This is the provider's phone number. |\n| customerName | string | This is the customer's name. |\n| customerEmail | string | This is the customer's email. |\n| customerPhone | string | This is the customer's phone number. |\n| disputeChats | array | This is holds the objects of the different chats in a dispute |\n| id | guid | The id of the chat record in the database. |\n| receivedAt | DateTime | This is the date the chat message was received. |\n| receivedAtTimeStamp | double | This is the time date the chat message was received at in milliseconds. |\n| sentBy | enum | This is the participant who sent the message. |\n| sentTo | enum | This is the participant who the message is being sent to. |\n| senderName | string | This is the participant's name who sent the message. |\n| message | string | This the content of the message sent. |\n| pageSize | int | This is the number of disputes chats in a page. |\n| currentPage | int | This is the current page number. |\n| totalPages | int | This is the total number of pages of the disputes for a third party app. |\n| totalRecords | int | This is the total number of records of the disputes in third party app. |\n| status | string | This is the status of the request. |\n| message | string | This returns empty if no errors occurs. |",
"auth": {
"type": "noauth"
},
"event": [
{
"listen": "prerequest",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
}
]
}
],
"description": "This `GET` endpoint gets all disputes made by a third party. For the params to be passed, the `startDate` and `endDate` has to be a converted date time in seconds. The `disputeStatus` can be either 'OpenDispute', 'DisputeBeingAttendedTo' or 'DisputeResolved'. The `pagenumber` and `pageSize` are to be included.\n\nThe `publicKey` is to be passed in the header as it's required."
},
{
"name": "Get Dispute Message Thread",
"item": [
{
"name": "APIs",
"item": [
{
"name": "Get Dispute Message Thread For A Third Party",
"request": {
"method": "GET",
"header": [
{
"key": "publicKey",
"value": "{{publicKey}}",
"type": "default"
}
],
"url": {
"raw": "{{baseUrl}}/api/Dispute/ThirdParty/DisputeChats?disputeId=bae632e9-cf8f-4343-7523-08d99a4da05d",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"Dispute",
"ThirdParty",
"DisputeChats"
],
"query": [
{
"key": "disputeId",
"value": "bae632e9-cf8f-4343-7523-08d99a4da05d"
}
]
},
"description": "**Get Dispute Chats For A Third Party**\n\nThis gets the dispute chats for a third party. It accepts the params of \"disputeId\"."
},
"response": [
{
"name": "Success",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "publicKey",
"value": "{{publicKey}}",
"type": "default"
}
],
"url": {
"raw": "{{baseUrl}}/api/Dispute/ThirdParty/DisputeChats?disputeId=bae632e9-cf8f-4343-7523-08d99a4da05d",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"Dispute",
"ThirdParty",
"DisputeChats"
],
"query": [
{
"key": "disputeId",
"value": "bae632e9-cf8f-4343-7523-08d99a4da05d"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"data\": [\n {\n \"id\": \"b5e75148-b59d-43e8-c1f8-08d99a4da060\",\n \"receievedAt\": \"2021-10-28T20:00:44.3229466\",\n \"receievedAtTimestamp\": 1635451244322.9465,\n \"sentBy\": \"ThirdPartyClient\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chidelu\",\n \"message\": \"Note that some props are only available with multiline={true/false}. Additionally, border styles that apply to \"\n },\n {\n \"id\": \"f44281cf-ba56-467a-5c42-08d9afa44c2e\",\n \"receievedAt\": \"2021-11-26T05:51:38.1580584\",\n \"receievedAtTimestamp\": 1637905898158.0583,\n \"sentBy\": \"Support\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chukwuemeka Nweke\",\n \"message\": \"jhk\"\n },\n {\n \"id\": \"aa8e7fd3-14e1-40fc-5c43-08d9afa44c2e\",\n \"receievedAt\": \"2021-11-26T05:51:49.4804844\",\n \"receievedAtTimestamp\": 1637905909480.4844,\n \"sentBy\": \"Support\",\n \"sentTo\": \"All\",\n \"senderName\": \"Chukwuemeka Nweke\",\n \"message\": \"bnb\"\n }\n ],\n \"status\": \"OK\",\n \"message\": \"\"\n}"
},
{
"name": "Bad Request",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "publicKey",
"value": "{{publicKey}}",
"type": "default"
}
],
"url": {
"raw": "{{baseUrl}}/api/Dispute/ThirdParty/DisputeChats?disputeId=bae632e9-cf8f-4343-7523-08d99a4da05",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"Dispute",
"ThirdParty",
"DisputeChats"
],
"query": [
{
"key": "disputeId",
"value": "bae632e9-cf8f-4343-7523-08d99a4da05"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"type\": \"https://tools.ietf.org/html/rfc7231#section-6.5.1\",\n \"title\": \"One or more validation errors occurred.\",\n \"status\": 400,\n \"traceId\": \"|c0bea777-437fd98fe3d48a90.\",\n \"errors\": {\n \"disputeId\": [\n \"The value 'bae632e9-cf8f-4343-7523-08d99a4da05' is not valid.\"\n ]\n }\n}"
}
]
}
]
}
],
"description": "This `GET` endpoint gets a specific dispute message thread. It accepts the params of `disputeId`. The `publicKey` is passed in the header."
},
{
"name": "Fields & Definitions",
"item": [],
"description": "#### Params Fields\n\n| Parameters | Type | **Description** |\n| --- | --- | --- |\n| disputeId | guid | `Required`This is a particular dispute message thread record in the database. |\n\n#### Response Fields\n\n| Parameters | Types | **Descriptions** |\n| --- | --- | --- |\n| id | guid | The id of the chat record in the database. |\n| receivedAt | DateTime | This is the date the chat message was received. |\n| receivedAtTimeStamp | double | This is the time date the chat message was received at in milliseconds. |\n| sentBy | enum | This is the participant who sent the message. |\n| sentTo | enum | This is the participant who the message is being sent to. |\n| senderName | string | This is the participant's name who sent the message. |\n| message | string | This the content of the message sent. |\n| status | string | The status of the request. |\n| message | string | The message returned after the request. |",
"auth": {
"type": "noauth"
},
"event": [
{
"listen": "prerequest",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
}
]
}
],
"description": "These are issues or disputes raised by a third party client with a particular order(s). XendBridge ensures accountability and assurance of proposed transactions of orders to be executed swiftly and precise. It contains four endpoints such as ;\n\n* Create Third Party Dispute\n* Comment On Dispute\n* Get All Disputes Raised By Third Party\n* Get Dispute Message Thread"
},
{
"name": "LP Simulation",
"item": [
{
"name": "Pay For Order (LP Simulation)",
"item": [
{
"name": "APIs",
"item": [
{
"name": "Pay For Order",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"orderreference\": \"XB_a5328f5358eb4b3f8d02bd0af10353b0\",\r\n \"paymentnetwork\": \"BEP20\",\r\n \"transactionhash\": \"0xe1577054fcca2dee00081fdd30757aa3c9895da806e26620a62a65cdc2cca375\"\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/api/LPSimulation/Order/Confirm",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"LPSimulation",
"Order",
"Confirm"
]
}
},
"response": [
{
"name": "Success",
"originalRequest": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"orderreference\": \"XB_a5328f5358eb4b3f8d02bd0af10353b0\",\r\n \"paymentnetwork\": \"BEP20\",\r\n \"transactionhash\": \"0xe1577054fcca2dee00081fdd30757aa3c9895da806e26620a62a65cdc2cca375\"\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/api/LPSimulation/Order/Confirm",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"LPSimulation",
"Order",
"Confirm"
]
}
},
"_postman_previewlanguage": "json",
"header": null,
"cookie": [],
"body": "{\r\n \"Status\": 2,\r\n \"Message\": \"P2P Order Is Completed Successfully\",\r\n \"Data\": null\r\n}"
},
{
"name": "Bad Request If Order Reference Is Invalid",
"originalRequest": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"orderreference\": \"XB_a5328f5358eb4b3f8d02bd0af10353b\",\r\n \"paymentnetwork\": \"BEP20\",\r\n \"transactionhash\": \"0xe1577054fcca2dee00081fdd30757aa3c9895da806e26620a62a65cdc2cca375\"\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/api/LPSimulation/Order/Confirm",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"LPSimulation",
"Order",
"Confirm"
]
}
},
"_postman_previewlanguage": "json",
"header": null,
"cookie": [],
"body": "{\n \"Status\": 2,\n \"Message\": \"Order Not Found\",\n \"Data\": null\n}"
}
]
}
]
}
]
},
{
"name": "Fields & Definitions",
"item": [],
"description": "#### Request Fields\n\n| Parameters | Type | **Description** |\n| --- | --- | --- |\n| orderReference | string | `Required` The order reference number made by the consumer. |\n| paymentNetwork | string | `Required` The payment network on which the crypto payment was made on. |\n| transactionalHash | string | `Required` The hash string that validates a particular order in the system. |\n\n#### Response Fields\n\n| Parameters | Type | **Description** |\n| --- | --- | --- |\n| data | bool | This can either be true or false. |\n| status | string | This returns a status message of the request. |\n| message | string | This returns either `P2P payment updated successfully` if success, or `Failed to update payment status. Please try again later` if failed. |",
"auth": {
"type": "noauth"
},
"event": [
{
"listen": "prerequest",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
}
]
}
],
"description": "The Liquidity Provider Simulation has the Pay For Order `POST` api endpoint ensures a payment is successful between a payment provider and a consumer in a sandboxed or test environment.\n\nThe endpoint receives a model containing `orderReference` , `paymentNetwork` & `transactionhash` and returns either a successful or failed message. See examples below;"
}
],
"event": [
{
"listen": "prerequest",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
}
],
"variable": [
{
"key": "baseUrl",
"value": "/",
"type": "string"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment