From e6cec31203735829c8bf062e2b443882e992134a Mon Sep 17 00:00:00 2001 From: Damilola Odujoko Date: Thu, 28 Jul 2022 13:10:02 +0100 Subject: [PATCH 1/8] Test collection --- dist/betting_copy.yaml | 459 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 459 insertions(+) create mode 100644 dist/betting_copy.yaml diff --git a/dist/betting_copy.yaml b/dist/betting_copy.yaml new file mode 100644 index 0000000..1f44ab3 --- /dev/null +++ b/dist/betting_copy.yaml @@ -0,0 +1,459 @@ +openapi: 3.0.1 +info: + title: Test-Create a betting platform + description: The OpenAPI specification for creating a betting platform using the Paystack API + version: 1.0.0 +servers: + - url: 'https://api.paystack.co' + description: Base API endpoint +paths: + /transaction/initialize: + post: + tags: + - Transaction + summary: Initialize Transaction + operationId: transaction_initialize + description: Create a new transaction. Adding some more text for test. + requestBody: + content: + application/x-www-form-urlencoded: + schema: + $ref: '#/paths/~1transaction~1initialize/post/requestBody/content/application~1json/schema' + application/json: + schema: + type: object + required: + - email + - amount + properties: + email: + description: Customer's email address + type: string + amount: + description: 'Amount should be in kobo if currency is NGN, pesewas, if currency is GHS, and cents, if currency is ZAR' + type: integer + currency: + description: The transaction currency + type: string + enum: + - NGN + - GHS + - ZAR + - USD + reference: + description: 'Unique transaction reference. Only -, ., = and alphanumeric characters allowed.' + type: string + callback_url: + description: 'Fully qualified url, e.g. https://example.com/ . Use this to override the callback url provided on the dashboard for this transaction' + type: string + plan: + description: |- + If transaction is to create a subscription to a predefined plan, provide plan code here. + This would invalidate the value provided in amount + type: string + invoice_limit: + description: Number of times to charge customer during subscription to plan + type: integer + metadata: + description: Stringified JSON object of custom data + type: string + channels: + description: An array of payment channels to control what channels you want to make available to the user to make a payment with + type: array + items: + type: string + enum: + - card + - bank + - ussd + - qr + - eft + - mobile_money + - bank_transfer + split_code: + description: The split code of the transaction split + type: string + subaccount: + description: The code for the subaccount that owns the payment + type: string + transaction_charge: + description: |- + A flat fee to charge the subaccount for a transaction. + This overrides the split percentage set when the subaccount was created + type: string + bearer: + description: The beare of the transaction charge + type: string + enum: + - account + - subaccount + responses: + '200': + $ref: '#/paths/~1bank~1resolve/get/responses/200' + '401': + $ref: '#/paths/~1bank~1resolve/get/responses/401' + default: + description: Server error + /transaction/charge_authorization: + post: + tags: + - Transaction + summary: Charge Authorization + operationId: transaction_chargeAuthorization + requestBody: + content: + application/x-www-form-urlencoded: + schema: + $ref: '#/paths/~1transaction~1charge_authorization/post/requestBody/content/application~1json/schema' + application/json: + schema: + type: object + required: + - email + - amount + - authorization_code + properties: + email: + description: Customer's email address + type: string + amount: + description: 'Amount should be in kobo if currency is NGN, pesewas, if currency is GHS, and cents, if currency is ZAR' + type: integer + authorization_code: + description: Valid authorization code to charge + type: string + reference: + description: 'Unique transaction reference. Only -, ., = and alphanumeric characters allowed.' + type: string + currency: + description: The transaction currency + type: string + enum: + - NGN + - GHS + - ZAR + - USD + metadata: + description: Stringified JSON object of custom data + type: string + split_code: + description: The split code of the transaction split + type: string + subaccount: + description: The code for the subaccount that owns the payment + type: string + transaction_charge: + description: |- + A flat fee to charge the subaccount for a transaction. + This overrides the split percentage set when the subaccount was created + type: string + bearer: + description: The beare of the transaction charge + type: string + enum: + - account + - subaccount + queue: + description: 'If you are making a scheduled charge call, it is a good idea to queue them so the processing system does not get overloaded causing transaction processing errors.' + type: boolean + responses: + '200': + $ref: '#/paths/~1bank~1resolve/get/responses/200' + '401': + $ref: '#/paths/~1bank~1resolve/get/responses/401' + default: + description: Server error + /bank/resolve: + get: + tags: + - Verification + summary: Resolve Account Number + operationId: verification_resolveAccountNumber + parameters: + - name: account_number + in: query + schema: + type: integer + example: 0022728151 + - name: bank_code + in: query + schema: + type: integer + example: '063' + responses: + '200': + description: Request successful + content: + application/json: + schema: + $ref: '#/components/responses/Ok/content/application~1json/schema' + '401': + description: Unauthorized operation + content: + application/json: + schema: + type: object + properties: + status: + type: boolean + message: + type: string + '404': + $ref: '#/paths/~1bank~1resolve/get/responses/401' + default: + description: Server error + /transferrecipient: + post: + tags: + - Transfer Recipient + summary: Create Transfer Recipient + operationId: transferrecipient_create + requestBody: + content: + application/x-www-form-urlencoded: + schema: + $ref: '#/paths/~1transferrecipient/post/requestBody/content/application~1json/schema' + application/json: + schema: + type: object + required: + - type + - name + - account_number + - bank_code + properties: + type: + description: Recipient Type (Only nuban at this time) + type: string + name: + description: Recipient's name + type: string + account_number: + description: Recipient's bank account number + type: string + bank_code: + description: Recipient's bank code. You can get the list of Bank Codes by calling the List Banks endpoint + type: string + description: + description: A description for this recipient + type: string + currency: + description: Currency for the account receiving the transfer + type: string + authorization_code: + description: An authorization code from a previous transaction + type: string + metadata: + description: Stringified JSON object of custom data + type: string + responses: + '201': + description: Resource created + content: + application/json: + schema: + $ref: '#/components/responses/Ok/content/application~1json/schema' + '401': + $ref: '#/paths/~1bank~1resolve/get/responses/401' + default: + description: Server error + /transfer/bulk: + post: + tags: + - Transfer + summary: Initiate Bulk Transfer + operationId: transfer_bulk + requestBody: + content: + application/x-www-form-urlencoded: + schema: + $ref: '#/paths/~1transfer~1bulk/post/requestBody/content/application~1json/schema' + application/json: + schema: + type: object + required: + - batch + properties: + source: + description: Where should we transfer from? Only balance is allowed for now + type: string + transfers: + description: 'A list of transfer object. Each object should contain amount, recipient, and reference' + type: array + items: + type: object + required: + - source + - amount + - recipient + properties: + source: + description: Where should we transfer from? Only balance is allowed for now + type: string + amount: + description: Amount to transfer in kobo if currency is NGN and pesewas if currency is GHS. + type: string + recipient: + description: The transfer recipient's code + type: string + reason: + description: The reason or narration for the transfer. + type: string + currency: + description: Specify the currency of the transfer. Defaults to NGN. + type: string + reference: + description: |- + If specified, the field should be a unique identifier (in lowercase) for the object. + Only -,_ and alphanumeric characters are allowed. + type: string + responses: + '200': + $ref: '#/paths/~1bank~1resolve/get/responses/200' + '401': + $ref: '#/paths/~1bank~1resolve/get/responses/401' + default: + description: Server error +components: + securitySchemes: + bearerAuth: + type: http + scheme: bearer + schemas: + Customer: + allOf: + - type: object + required: + - email + properties: + email: + description: Customer's email address + type: string + - type: object + properties: + first_name: + description: Customer's first name + type: string + last_name: + description: Customer's last name + type: string + phone: + description: Customer's phone number + type: string + metadata: + description: Stringified JSON object of custom data + type: string + - type: object + required: + - authorization_code + properties: + authorization_code: + description: Customer's authorization code to be deactivated + type: string + - type: object + required: + - customer + properties: + customer: + description: 'Customer''s code, or email address' + type: string + risk_action: + description: | + One of the possible risk actions [ default, allow, deny ]. allow to whitelist. + deny to blacklist. Customers start with a default risk action. + type: string + enum: + - default + - allow + - deny + - type: object + required: + - type + - country + - bvn + - bank_code + - account_number + properties: + type: + description: Predefined types of identification. + type: string + enum: + - bvn + - bank_account + country: + description: Two-letter country code of identification issuer + type: string + bvn: + description: Customer's Bank Verification Number + type: string + bank_code: + description: 'You can get the list of bank codes by calling the List Banks endpoint (https://api.paystack.co/bank).' + type: string + account_number: + description: Customer's bank account number. + type: string + value: + description: Customer's identification number. Required if type is bvn + type: string + Error: + type: object + properties: + status: + type: boolean + message: + type: string + Response: + type: object + properties: + status: + type: boolean + message: + type: string + data: + type: object + responses: + Ok: + description: Successful operation + content: + application/json: + schema: + type: object + properties: + status: + type: boolean + message: + type: string + data: + type: object + Created: + description: Resource created + content: + application/json: + schema: + $ref: '#/components/schemas/Response' + NotFound: + description: Entity not found + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + example: + status: false + message: Entity not found + Unauthorized: + description: Unauthorized operation + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + example: + status: false + message: Invalid key + GeneralError: + description: General Error + content: + application/json: + schema: + $ref: '#/components/schemas/Error' +security: + - bearerAuth: [] From 704a05676a200337b0a69ded7f974597b99323cb Mon Sep 17 00:00:00 2001 From: Damilola Odujoko <60398567+damilola-paystack@users.noreply.github.com> Date: Thu, 28 Jul 2022 13:41:37 +0100 Subject: [PATCH 2/8] Update betting_copy.yaml just a random update --- dist/betting_copy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/betting_copy.yaml b/dist/betting_copy.yaml index 1f44ab3..c0ec25f 100644 --- a/dist/betting_copy.yaml +++ b/dist/betting_copy.yaml @@ -1,6 +1,6 @@ openapi: 3.0.1 info: - title: Test-Create a betting platform + title: Test - Create a betting platform test description: The OpenAPI specification for creating a betting platform using the Paystack API version: 1.0.0 servers: From e6de9905e5fccd5e6a6fcde867ffb86bc9573210 Mon Sep 17 00:00:00 2001 From: Damilola Odujoko <60398567+damilola-paystack@users.noreply.github.com> Date: Thu, 28 Jul 2022 14:05:49 +0100 Subject: [PATCH 3/8] Update betting_copy.yaml Another test update --- dist/betting_copy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/betting_copy.yaml b/dist/betting_copy.yaml index c0ec25f..cbd47ef 100644 --- a/dist/betting_copy.yaml +++ b/dist/betting_copy.yaml @@ -1,6 +1,6 @@ openapi: 3.0.1 info: - title: Test - Create a betting platform test + title: Test - Create a betting integration description: The OpenAPI specification for creating a betting platform using the Paystack API version: 1.0.0 servers: From 76a5c16d09489d38193233249adab193b93c0c36 Mon Sep 17 00:00:00 2001 From: paystack Date: Thu, 28 Jul 2022 15:26:25 +0100 Subject: [PATCH 4/8] Update from Postman --- ..._db1843e1-297b-4ad9-bfad-dcb52e30aa8c.json | 1613 +++++++++++++++++ postman/schemas/betting_schema.yaml | 459 +++++ 2 files changed, 2072 insertions(+) create mode 100644 postman/collections/Test - Create a betting platform test_db1843e1-297b-4ad9-bfad-dcb52e30aa8c.json create mode 100644 postman/schemas/betting_schema.yaml diff --git a/postman/collections/Test - Create a betting platform test_db1843e1-297b-4ad9-bfad-dcb52e30aa8c.json b/postman/collections/Test - Create a betting platform test_db1843e1-297b-4ad9-bfad-dcb52e30aa8c.json new file mode 100644 index 0000000..e83131f --- /dev/null +++ b/postman/collections/Test - Create a betting platform test_db1843e1-297b-4ad9-bfad-dcb52e30aa8c.json @@ -0,0 +1,1613 @@ +{ + "info": { + "_postman_id": "87441441-d2e7-46d3-b824-62e8cae5e307", + "name": "Test - Create a betting platform test", + "description": "The OpenAPI specification for creating a betting platform using the Paystack API", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" + }, + "item": [ + { + "name": "transaction", + "item": [ + { + "name": "Initialize Transaction", + "id": "4116d0a9-d759-4d00-9f30-c6cd2a13570f", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/x-www-form-urlencoded" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "urlencoded", + "urlencoded": [ + { + "key": "email", + "value": "aliqua sint eu", + "description": "(Required) Customer's email address" + }, + { + "key": "amount", + "value": "89347303", + "description": "(Required) Amount should be in kobo if currency is NGN, pesewas, if currency is GHS, and cents, if currency is ZAR" + }, + { + "key": "currency", + "value": "GHS", + "description": "The transaction currency" + }, + { + "key": "reference", + "value": "velit Lorem ullamco sunt", + "description": "Unique transaction reference. Only -, ., = and alphanumeric characters allowed." + }, + { + "key": "callback_url", + "value": "amet commodo officia", + "description": "Fully qualified url, e.g. https://example.com/ . Use this to override the callback url provided on the dashboard for this transaction" + }, + { + "key": "plan", + "value": "quis ut reprehenderit proident", + "description": "If transaction is to create a subscription to a predefined plan, provide plan code here. \nThis would invalidate the value provided in amount" + }, + { + "key": "invoice_limit", + "value": "71796745", + "description": "Number of times to charge customer during subscription to plan" + }, + { + "key": "metadata", + "value": "sint proident ipsum magna exercita", + "description": "Stringified JSON object of custom data" + }, + { + "key": "channels", + "value": "eft", + "description": "An array of payment channels to control what channels you want to make available to the user to make a payment with" + }, + { + "key": "channels", + "value": "qr", + "description": "An array of payment channels to control what channels you want to make available to the user to make a payment with" + }, + { + "key": "split_code", + "value": "labore nulla", + "description": "The split code of the transaction split" + }, + { + "key": "subaccount", + "value": "exercitation nostrud proident sint", + "description": "The code for the subaccount that owns the payment" + }, + { + "key": "transaction_charge", + "value": "exercitation fugiat quis", + "description": "A flat fee to charge the subaccount for a transaction. \nThis overrides the split percentage set when the subaccount was created" + }, + { + "key": "bearer", + "value": "subaccount", + "description": "The beare of the transaction charge" + } + ] + }, + "url": { + "raw": "{{baseUrl}}/transaction/initialize", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transaction", + "initialize" + ] + }, + "description": "Create a new transaction. Adding some more text for test." + }, + "response": [ + { + "id": "4e1f3f5d-8804-4b33-9636-33ee914a5a0b", + "name": "Request successful", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "urlencoded", + "urlencoded": [ + { + "description": "(Required) Customer's email address", + "key": "email", + "value": "dolor ea" + }, + { + "description": "(Required) Amount should be in kobo if currency is NGN, pesewas, if currency is GHS, and cents, if currency is ZAR", + "key": "amount", + "value": "-61875804" + }, + { + "description": "The transaction currency", + "key": "currency", + "value": "NGN" + }, + { + "description": "Unique transaction reference. Only -, ., = and alphanumeric characters allowed.", + "key": "reference", + "value": "mollit nulla" + }, + { + "description": "Fully qualified url, e.g. https://example.com/ . Use this to override the callback url provided on the dashboard for this transaction", + "key": "callback_url", + "value": "sunt" + }, + { + "description": "If transaction is to create a subscription to a predefined plan, provide plan code here. \nThis would invalidate the value provided in amount", + "key": "plan", + "value": "dolore" + }, + { + "description": "Number of times to charge customer during subscription to plan", + "key": "invoice_limit", + "value": "-91880013" + }, + { + "description": "Stringified JSON object of custom data", + "key": "metadata", + "value": "commodo pro" + }, + { + "description": "An array of payment channels to control what channels you want to make available to the user to make a payment with", + "key": "channels", + "value": "card" + }, + { + "description": "An array of payment channels to control what channels you want to make available to the user to make a payment with", + "key": "channels", + "value": "qr" + }, + { + "description": "The split code of the transaction split", + "key": "split_code", + "value": "elit qui adipisicing" + }, + { + "description": "The code for the subaccount that owns the payment", + "key": "subaccount", + "value": "incididunt Excepteur consectetur magna" + }, + { + "description": "A flat fee to charge the subaccount for a transaction. \nThis overrides the split percentage set when the subaccount was created", + "key": "transaction_charge", + "value": "eu Excepteur veniam" + }, + { + "description": "The beare of the transaction charge", + "key": "bearer", + "value": "subaccount" + } + ] + }, + "url": { + "raw": "{{baseUrl}}/transaction/initialize", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transaction", + "initialize" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "responseTime": null, + "body": "{\n \"status\": true,\n \"message\": \"enim anim dolore sit\",\n \"data\": {}\n}" + }, + { + "id": "e42fe402-8f5e-4d28-894b-a37da38ed0b9", + "name": "Unauthorized operation", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "urlencoded", + "urlencoded": [ + { + "description": "(Required) Customer's email address", + "key": "email", + "value": "dolor ea" + }, + { + "description": "(Required) Amount should be in kobo if currency is NGN, pesewas, if currency is GHS, and cents, if currency is ZAR", + "key": "amount", + "value": "-61875804" + }, + { + "description": "The transaction currency", + "key": "currency", + "value": "NGN" + }, + { + "description": "Unique transaction reference. Only -, ., = and alphanumeric characters allowed.", + "key": "reference", + "value": "mollit nulla" + }, + { + "description": "Fully qualified url, e.g. https://example.com/ . Use this to override the callback url provided on the dashboard for this transaction", + "key": "callback_url", + "value": "sunt" + }, + { + "description": "If transaction is to create a subscription to a predefined plan, provide plan code here. \nThis would invalidate the value provided in amount", + "key": "plan", + "value": "dolore" + }, + { + "description": "Number of times to charge customer during subscription to plan", + "key": "invoice_limit", + "value": "-91880013" + }, + { + "description": "Stringified JSON object of custom data", + "key": "metadata", + "value": "commodo pro" + }, + { + "description": "An array of payment channels to control what channels you want to make available to the user to make a payment with", + "key": "channels", + "value": "card" + }, + { + "description": "An array of payment channels to control what channels you want to make available to the user to make a payment with", + "key": "channels", + "value": "qr" + }, + { + "description": "The split code of the transaction split", + "key": "split_code", + "value": "elit qui adipisicing" + }, + { + "description": "The code for the subaccount that owns the payment", + "key": "subaccount", + "value": "incididunt Excepteur consectetur magna" + }, + { + "description": "A flat fee to charge the subaccount for a transaction. \nThis overrides the split percentage set when the subaccount was created", + "key": "transaction_charge", + "value": "eu Excepteur veniam" + }, + { + "description": "The beare of the transaction charge", + "key": "bearer", + "value": "subaccount" + } + ] + }, + "url": { + "raw": "{{baseUrl}}/transaction/initialize", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transaction", + "initialize" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "responseTime": null, + "body": "{\n \"status\": false,\n \"message\": \"do nulla Duis ut\"\n}" + }, + { + "id": "96c7c8ff-57d0-4e77-8a3d-faf4edd7da78", + "name": "Server error", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "urlencoded", + "urlencoded": [ + { + "description": "(Required) Customer's email address", + "key": "email", + "value": "dolor ea" + }, + { + "description": "(Required) Amount should be in kobo if currency is NGN, pesewas, if currency is GHS, and cents, if currency is ZAR", + "key": "amount", + "value": "-61875804" + }, + { + "description": "The transaction currency", + "key": "currency", + "value": "NGN" + }, + { + "description": "Unique transaction reference. Only -, ., = and alphanumeric characters allowed.", + "key": "reference", + "value": "mollit nulla" + }, + { + "description": "Fully qualified url, e.g. https://example.com/ . Use this to override the callback url provided on the dashboard for this transaction", + "key": "callback_url", + "value": "sunt" + }, + { + "description": "If transaction is to create a subscription to a predefined plan, provide plan code here. \nThis would invalidate the value provided in amount", + "key": "plan", + "value": "dolore" + }, + { + "description": "Number of times to charge customer during subscription to plan", + "key": "invoice_limit", + "value": "-91880013" + }, + { + "description": "Stringified JSON object of custom data", + "key": "metadata", + "value": "commodo pro" + }, + { + "description": "An array of payment channels to control what channels you want to make available to the user to make a payment with", + "key": "channels", + "value": "card" + }, + { + "description": "An array of payment channels to control what channels you want to make available to the user to make a payment with", + "key": "channels", + "value": "qr" + }, + { + "description": "The split code of the transaction split", + "key": "split_code", + "value": "elit qui adipisicing" + }, + { + "description": "The code for the subaccount that owns the payment", + "key": "subaccount", + "value": "incididunt Excepteur consectetur magna" + }, + { + "description": "A flat fee to charge the subaccount for a transaction. \nThis overrides the split percentage set when the subaccount was created", + "key": "transaction_charge", + "value": "eu Excepteur veniam" + }, + { + "description": "The beare of the transaction charge", + "key": "bearer", + "value": "subaccount" + } + ] + }, + "url": { + "raw": "{{baseUrl}}/transaction/initialize", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transaction", + "initialize" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "responseTime": null, + "body": "" + } + ] + }, + { + "name": "Charge Authorization", + "id": "831bb0b8-a1e0-4daf-93e2-0cd8fd7ff48b", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/x-www-form-urlencoded" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "urlencoded", + "urlencoded": [ + { + "key": "email", + "value": "non minim", + "description": "(Required) Customer's email address" + }, + { + "key": "amount", + "value": "-34900033", + "description": "(Required) Amount should be in kobo if currency is NGN, pesewas, if currency is GHS, and cents, if currency is ZAR" + }, + { + "key": "authorization_code", + "value": "aliquip mollit", + "description": "(Required) Valid authorization code to charge" + }, + { + "key": "reference", + "value": "cillum", + "description": "Unique transaction reference. Only -, ., = and alphanumeric characters allowed." + }, + { + "key": "currency", + "value": "GHS", + "description": "The transaction currency" + }, + { + "key": "metadata", + "value": "laboris in dolore aliqua", + "description": "Stringified JSON object of custom data" + }, + { + "key": "split_code", + "value": "ullamco sit", + "description": "The split code of the transaction split" + }, + { + "key": "subaccount", + "value": "ex anim consequat aliqua", + "description": "The code for the subaccount that owns the payment" + }, + { + "key": "transaction_charge", + "value": "cillum Duis", + "description": "A flat fee to charge the subaccount for a transaction. \nThis overrides the split percentage set when the subaccount was created" + }, + { + "key": "bearer", + "value": "subaccount", + "description": "The beare of the transaction charge" + }, + { + "key": "queue", + "value": "true", + "description": "If you are making a scheduled charge call, it is a good idea to queue them so the processing system does not get overloaded causing transaction processing errors." + } + ] + }, + "url": { + "raw": "{{baseUrl}}/transaction/charge_authorization", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transaction", + "charge_authorization" + ] + } + }, + "response": [ + { + "id": "48fe9d69-608a-41c3-bab3-3734799129da", + "name": "Request successful", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "urlencoded", + "urlencoded": [ + { + "description": "(Required) Customer's email address", + "key": "email", + "value": "non minim" + }, + { + "description": "(Required) Amount should be in kobo if currency is NGN, pesewas, if currency is GHS, and cents, if currency is ZAR", + "key": "amount", + "value": "-34900033" + }, + { + "description": "(Required) Valid authorization code to charge", + "key": "authorization_code", + "value": "aliquip mollit" + }, + { + "description": "Unique transaction reference. Only -, ., = and alphanumeric characters allowed.", + "key": "reference", + "value": "cillum" + }, + { + "description": "The transaction currency", + "key": "currency", + "value": "GHS" + }, + { + "description": "Stringified JSON object of custom data", + "key": "metadata", + "value": "laboris in dolore aliqua" + }, + { + "description": "The split code of the transaction split", + "key": "split_code", + "value": "ullamco sit" + }, + { + "description": "The code for the subaccount that owns the payment", + "key": "subaccount", + "value": "ex anim consequat aliqua" + }, + { + "description": "A flat fee to charge the subaccount for a transaction. \nThis overrides the split percentage set when the subaccount was created", + "key": "transaction_charge", + "value": "cillum Duis" + }, + { + "description": "The beare of the transaction charge", + "key": "bearer", + "value": "subaccount" + }, + { + "description": "If you are making a scheduled charge call, it is a good idea to queue them so the processing system does not get overloaded causing transaction processing errors.", + "key": "queue", + "value": "true" + } + ] + }, + "url": { + "raw": "{{baseUrl}}/transaction/charge_authorization", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transaction", + "charge_authorization" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "responseTime": null, + "body": "{\n \"status\": true,\n \"message\": \"enim anim dolore sit\",\n \"data\": {}\n}" + }, + { + "id": "61f11fa4-13f7-4937-b51a-8a5780163269", + "name": "Unauthorized operation", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "urlencoded", + "urlencoded": [ + { + "description": "(Required) Customer's email address", + "key": "email", + "value": "non minim" + }, + { + "description": "(Required) Amount should be in kobo if currency is NGN, pesewas, if currency is GHS, and cents, if currency is ZAR", + "key": "amount", + "value": "-34900033" + }, + { + "description": "(Required) Valid authorization code to charge", + "key": "authorization_code", + "value": "aliquip mollit" + }, + { + "description": "Unique transaction reference. Only -, ., = and alphanumeric characters allowed.", + "key": "reference", + "value": "cillum" + }, + { + "description": "The transaction currency", + "key": "currency", + "value": "GHS" + }, + { + "description": "Stringified JSON object of custom data", + "key": "metadata", + "value": "laboris in dolore aliqua" + }, + { + "description": "The split code of the transaction split", + "key": "split_code", + "value": "ullamco sit" + }, + { + "description": "The code for the subaccount that owns the payment", + "key": "subaccount", + "value": "ex anim consequat aliqua" + }, + { + "description": "A flat fee to charge the subaccount for a transaction. \nThis overrides the split percentage set when the subaccount was created", + "key": "transaction_charge", + "value": "cillum Duis" + }, + { + "description": "The beare of the transaction charge", + "key": "bearer", + "value": "subaccount" + }, + { + "description": "If you are making a scheduled charge call, it is a good idea to queue them so the processing system does not get overloaded causing transaction processing errors.", + "key": "queue", + "value": "true" + } + ] + }, + "url": { + "raw": "{{baseUrl}}/transaction/charge_authorization", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transaction", + "charge_authorization" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "responseTime": null, + "body": "{\n \"status\": false,\n \"message\": \"do nulla Duis ut\"\n}" + }, + { + "id": "764bf6db-843d-41f5-963b-4238ae35d984", + "name": "Server error", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "urlencoded", + "urlencoded": [ + { + "description": "(Required) Customer's email address", + "key": "email", + "value": "non minim" + }, + { + "description": "(Required) Amount should be in kobo if currency is NGN, pesewas, if currency is GHS, and cents, if currency is ZAR", + "key": "amount", + "value": "-34900033" + }, + { + "description": "(Required) Valid authorization code to charge", + "key": "authorization_code", + "value": "aliquip mollit" + }, + { + "description": "Unique transaction reference. Only -, ., = and alphanumeric characters allowed.", + "key": "reference", + "value": "cillum" + }, + { + "description": "The transaction currency", + "key": "currency", + "value": "GHS" + }, + { + "description": "Stringified JSON object of custom data", + "key": "metadata", + "value": "laboris in dolore aliqua" + }, + { + "description": "The split code of the transaction split", + "key": "split_code", + "value": "ullamco sit" + }, + { + "description": "The code for the subaccount that owns the payment", + "key": "subaccount", + "value": "ex anim consequat aliqua" + }, + { + "description": "A flat fee to charge the subaccount for a transaction. \nThis overrides the split percentage set when the subaccount was created", + "key": "transaction_charge", + "value": "cillum Duis" + }, + { + "description": "The beare of the transaction charge", + "key": "bearer", + "value": "subaccount" + }, + { + "description": "If you are making a scheduled charge call, it is a good idea to queue them so the processing system does not get overloaded causing transaction processing errors.", + "key": "queue", + "value": "true" + } + ] + }, + "url": { + "raw": "{{baseUrl}}/transaction/charge_authorization", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transaction", + "charge_authorization" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "responseTime": null, + "body": "" + } + ] + } + ], + "id": "b6c34152-36f1-405f-a036-59b7075af8a3" + }, + { + "name": "Resolve Account Number", + "id": "eea9fb1b-1435-4e3b-81f6-11fae6988e77", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/bank/resolve?account_number=53597329&bank_code=32958124", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "bank", + "resolve" + ], + "query": [ + { + "key": "account_number", + "value": "53597329" + }, + { + "key": "bank_code", + "value": "32958124" + } + ] + } + }, + "response": [ + { + "id": "e2bf3834-7b4e-4a44-bf5c-ee451da36845", + "name": "Request successful", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/bank/resolve?account_number=53597329&bank_code=32958124", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "bank", + "resolve" + ], + "query": [ + { + "key": "account_number", + "value": "53597329" + }, + { + "key": "bank_code", + "value": "32958124" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "responseTime": null, + "body": "{\n \"status\": true,\n \"message\": \"enim anim dolore sit\",\n \"data\": {}\n}" + }, + { + "id": "5b5e21c3-8972-4523-a267-ce4abb215a98", + "name": "Unauthorized operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/bank/resolve?account_number=53597329&bank_code=32958124", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "bank", + "resolve" + ], + "query": [ + { + "key": "account_number", + "value": "53597329" + }, + { + "key": "bank_code", + "value": "32958124" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "responseTime": null, + "body": "{\n \"status\": false,\n \"message\": \"do nulla Duis ut\"\n}" + }, + { + "id": "a3be8f82-48dd-4a88-bfb4-9dc4a9bb9015", + "name": "Unauthorized operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/bank/resolve?account_number=53597329&bank_code=32958124", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "bank", + "resolve" + ], + "query": [ + { + "key": "account_number", + "value": "53597329" + }, + { + "key": "bank_code", + "value": "32958124" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "responseTime": null, + "body": "{\n \"status\": false,\n \"message\": \"do nulla Duis ut\"\n}" + }, + { + "id": "ad14dad7-f0e8-490e-b52a-d6cfba9f89a2", + "name": "Server error", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/bank/resolve?account_number=53597329&bank_code=32958124", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "bank", + "resolve" + ], + "query": [ + { + "key": "account_number", + "value": "53597329" + }, + { + "key": "bank_code", + "value": "32958124" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "responseTime": null, + "body": "" + } + ] + }, + { + "name": "Create Transfer Recipient", + "id": "e1969b96-409d-42ca-a7b1-bdbcd67a1cc2", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/x-www-form-urlencoded" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "urlencoded", + "urlencoded": [ + { + "key": "type", + "value": "deserunt fugiat", + "description": "(Required) Recipient Type (Only nuban at this time)" + }, + { + "key": "name", + "value": "veniam in consequat id", + "description": "(Required) Recipient's name" + }, + { + "key": "account_number", + "value": "nisi Lorem dolore occaecat officia", + "description": "(Required) Recipient's bank account number" + }, + { + "key": "bank_code", + "value": "deserunt", + "description": "(Required) Recipient's bank code. You can get the list of Bank Codes by calling the List Banks endpoint" + }, + { + "key": "description", + "value": "ex adipisicin", + "description": "A description for this recipient" + }, + { + "key": "currency", + "value": "in minim nisi", + "description": "Currency for the account receiving the transfer" + }, + { + "key": "authorization_code", + "value": "eu culpa adipisicing occaecat minim", + "description": "An authorization code from a previous transaction" + }, + { + "key": "metadata", + "value": "cillum", + "description": "Stringified JSON object of custom data" + } + ] + }, + "url": { + "raw": "{{baseUrl}}/transferrecipient", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transferrecipient" + ] + } + }, + "response": [ + { + "id": "b16b5fa3-67c2-4071-8fce-9cf58abe91d4", + "name": "Resource created", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "urlencoded", + "urlencoded": [ + { + "description": "(Required) Recipient Type (Only nuban at this time)", + "key": "type", + "value": "deserunt fugiat" + }, + { + "description": "(Required) Recipient's name", + "key": "name", + "value": "veniam in consequat id" + }, + { + "description": "(Required) Recipient's bank account number", + "key": "account_number", + "value": "nisi Lorem dolore occaecat officia" + }, + { + "description": "(Required) Recipient's bank code. You can get the list of Bank Codes by calling the List Banks endpoint", + "key": "bank_code", + "value": "deserunt" + }, + { + "description": "A description for this recipient", + "key": "description", + "value": "ex adipisicin" + }, + { + "description": "Currency for the account receiving the transfer", + "key": "currency", + "value": "in minim nisi" + }, + { + "description": "An authorization code from a previous transaction", + "key": "authorization_code", + "value": "eu culpa adipisicing occaecat minim" + }, + { + "description": "Stringified JSON object of custom data", + "key": "metadata", + "value": "cillum" + } + ] + }, + "url": { + "raw": "{{baseUrl}}/transferrecipient", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transferrecipient" + ] + } + }, + "status": "Created", + "code": 201, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "responseTime": null, + "body": "{\n \"status\": true,\n \"message\": \"enim anim dolore sit\",\n \"data\": {}\n}" + }, + { + "id": "d53ea85f-f366-4ae9-bb84-1ce4ad67c5d0", + "name": "Unauthorized operation", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "urlencoded", + "urlencoded": [ + { + "description": "(Required) Recipient Type (Only nuban at this time)", + "key": "type", + "value": "deserunt fugiat" + }, + { + "description": "(Required) Recipient's name", + "key": "name", + "value": "veniam in consequat id" + }, + { + "description": "(Required) Recipient's bank account number", + "key": "account_number", + "value": "nisi Lorem dolore occaecat officia" + }, + { + "description": "(Required) Recipient's bank code. You can get the list of Bank Codes by calling the List Banks endpoint", + "key": "bank_code", + "value": "deserunt" + }, + { + "description": "A description for this recipient", + "key": "description", + "value": "ex adipisicin" + }, + { + "description": "Currency for the account receiving the transfer", + "key": "currency", + "value": "in minim nisi" + }, + { + "description": "An authorization code from a previous transaction", + "key": "authorization_code", + "value": "eu culpa adipisicing occaecat minim" + }, + { + "description": "Stringified JSON object of custom data", + "key": "metadata", + "value": "cillum" + } + ] + }, + "url": { + "raw": "{{baseUrl}}/transferrecipient", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transferrecipient" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "responseTime": null, + "body": "{\n \"status\": false,\n \"message\": \"do nulla Duis ut\"\n}" + }, + { + "id": "33e64162-1678-478a-b639-497267b64117", + "name": "Server error", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "urlencoded", + "urlencoded": [ + { + "description": "(Required) Recipient Type (Only nuban at this time)", + "key": "type", + "value": "deserunt fugiat" + }, + { + "description": "(Required) Recipient's name", + "key": "name", + "value": "veniam in consequat id" + }, + { + "description": "(Required) Recipient's bank account number", + "key": "account_number", + "value": "nisi Lorem dolore occaecat officia" + }, + { + "description": "(Required) Recipient's bank code. You can get the list of Bank Codes by calling the List Banks endpoint", + "key": "bank_code", + "value": "deserunt" + }, + { + "description": "A description for this recipient", + "key": "description", + "value": "ex adipisicin" + }, + { + "description": "Currency for the account receiving the transfer", + "key": "currency", + "value": "in minim nisi" + }, + { + "description": "An authorization code from a previous transaction", + "key": "authorization_code", + "value": "eu culpa adipisicing occaecat minim" + }, + { + "description": "Stringified JSON object of custom data", + "key": "metadata", + "value": "cillum" + } + ] + }, + "url": { + "raw": "{{baseUrl}}/transferrecipient", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transferrecipient" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "responseTime": null, + "body": "" + } + ] + }, + { + "name": "Initiate Bulk Transfer", + "id": "3c93e2f8-3126-4c72-ad97-9f43c8892056", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/x-www-form-urlencoded" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "urlencoded", + "urlencoded": [ + { + "key": "source", + "value": "in", + "description": "Where should we transfer from? Only balance is allowed for now" + }, + { + "key": "transfers", + "value": "{\"source\":\"amet\",\"amount\":\"culpa sunt\",\"recipient\":\"exercitation\",\"reason\":\"nisi ex irure e\",\"currency\":\"fugiat tempor do\",\"reference\":\"aute ut eiusmod tempor\"}", + "description": "A list of transfer object. Each object should contain amount, recipient, and reference" + }, + { + "key": "transfers", + "value": "{\"source\":\"ut eu\",\"amount\":\"non proident Ut sunt\",\"recipient\":\"reprehenderit in occaecat cupidatat\",\"reason\":\"et cupidatat nostrud\",\"currency\":\"id Du\",\"reference\":\"ut Ut\"}", + "description": "A list of transfer object. Each object should contain amount, recipient, and reference" + } + ] + }, + "url": { + "raw": "{{baseUrl}}/transfer/bulk", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transfer", + "bulk" + ] + } + }, + "response": [ + { + "id": "97ae3a6f-412f-4cec-a351-568a591ed2ef", + "name": "Request successful", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "urlencoded", + "urlencoded": [ + { + "description": "Where should we transfer from? Only balance is allowed for now", + "key": "source", + "value": "nisi do aliquip" + }, + { + "description": "A list of transfer object. Each object should contain amount, recipient, and reference", + "key": "transfers", + "value": "{\"source\":\"sunt occaecat Duis in\",\"amount\":\"sunt id\",\"recipient\":\"deserunt incididunt ut\",\"reason\":\"magna\",\"currency\":\"voluptate\",\"reference\":\"aliquip consequat\"}" + }, + { + "description": "A list of transfer object. Each object should contain amount, recipient, and reference", + "key": "transfers", + "value": "{\"source\":\"ipsum occaecat incididun\",\"amount\":\"ad in\",\"recipient\":\"ea reprehenderit ex nostrud\",\"reason\":\"in\",\"currency\":\"Excepteur minim pariatur\",\"reference\":\"Excepteur anim qui ut aliquip\"}" + } + ] + }, + "url": { + "raw": "{{baseUrl}}/transfer/bulk", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transfer", + "bulk" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "responseTime": null, + "body": "{\n \"status\": true,\n \"message\": \"enim anim dolore sit\",\n \"data\": {}\n}" + }, + { + "id": "31eebc21-63a4-4880-a173-445d357bbf82", + "name": "Unauthorized operation", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "urlencoded", + "urlencoded": [ + { + "description": "Where should we transfer from? Only balance is allowed for now", + "key": "source", + "value": "nisi do aliquip" + }, + { + "description": "A list of transfer object. Each object should contain amount, recipient, and reference", + "key": "transfers", + "value": "{\"source\":\"sunt occaecat Duis in\",\"amount\":\"sunt id\",\"recipient\":\"deserunt incididunt ut\",\"reason\":\"magna\",\"currency\":\"voluptate\",\"reference\":\"aliquip consequat\"}" + }, + { + "description": "A list of transfer object. Each object should contain amount, recipient, and reference", + "key": "transfers", + "value": "{\"source\":\"ipsum occaecat incididun\",\"amount\":\"ad in\",\"recipient\":\"ea reprehenderit ex nostrud\",\"reason\":\"in\",\"currency\":\"Excepteur minim pariatur\",\"reference\":\"Excepteur anim qui ut aliquip\"}" + } + ] + }, + "url": { + "raw": "{{baseUrl}}/transfer/bulk", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transfer", + "bulk" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "responseTime": null, + "body": "{\n \"status\": false,\n \"message\": \"do nulla Duis ut\"\n}" + }, + { + "id": "5e11e390-82b0-4fb3-b655-4a7aef909290", + "name": "Server error", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "urlencoded", + "urlencoded": [ + { + "description": "Where should we transfer from? Only balance is allowed for now", + "key": "source", + "value": "nisi do aliquip" + }, + { + "description": "A list of transfer object. Each object should contain amount, recipient, and reference", + "key": "transfers", + "value": "{\"source\":\"sunt occaecat Duis in\",\"amount\":\"sunt id\",\"recipient\":\"deserunt incididunt ut\",\"reason\":\"magna\",\"currency\":\"voluptate\",\"reference\":\"aliquip consequat\"}" + }, + { + "description": "A list of transfer object. Each object should contain amount, recipient, and reference", + "key": "transfers", + "value": "{\"source\":\"ipsum occaecat incididun\",\"amount\":\"ad in\",\"recipient\":\"ea reprehenderit ex nostrud\",\"reason\":\"in\",\"currency\":\"Excepteur minim pariatur\",\"reference\":\"Excepteur anim qui ut aliquip\"}" + } + ] + }, + "url": { + "raw": "{{baseUrl}}/transfer/bulk", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transfer", + "bulk" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "responseTime": null, + "body": "" + } + ] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "variable": [ + { + "id": "0170cf04-a1d0-4c29-822a-c9b0954ee02b", + "key": "baseUrl", + "value": "https://api.paystack.co", + "type": "string" + } + ] +} \ No newline at end of file diff --git a/postman/schemas/betting_schema.yaml b/postman/schemas/betting_schema.yaml new file mode 100644 index 0000000..ab359b8 --- /dev/null +++ b/postman/schemas/betting_schema.yaml @@ -0,0 +1,459 @@ +openapi: 3.0.1 +info: + title: Test - Create a betting platform test from Postman + description: The OpenAPI specification for creating a betting platform using the Paystack API + version: 1.0.0 +servers: + - url: 'https://api.paystack.co' + description: Base API endpoint +paths: + /transaction/initialize: + post: + tags: + - Transaction + summary: Initialize Transaction + operationId: transaction_initialize + description: Create a new transaction. Adding some more text for test. + requestBody: + content: + application/x-www-form-urlencoded: + schema: + $ref: '#/paths/~1transaction~1initialize/post/requestBody/content/application~1json/schema' + application/json: + schema: + type: object + required: + - email + - amount + properties: + email: + description: Customer's email address + type: string + amount: + description: 'Amount should be in kobo if currency is NGN, pesewas, if currency is GHS, and cents, if currency is ZAR' + type: integer + currency: + description: The transaction currency + type: string + enum: + - NGN + - GHS + - ZAR + - USD + reference: + description: 'Unique transaction reference. Only -, ., = and alphanumeric characters allowed.' + type: string + callback_url: + description: 'Fully qualified url, e.g. https://example.com/ . Use this to override the callback url provided on the dashboard for this transaction' + type: string + plan: + description: |- + If transaction is to create a subscription to a predefined plan, provide plan code here. + This would invalidate the value provided in amount + type: string + invoice_limit: + description: Number of times to charge customer during subscription to plan + type: integer + metadata: + description: Stringified JSON object of custom data + type: string + channels: + description: An array of payment channels to control what channels you want to make available to the user to make a payment with + type: array + items: + type: string + enum: + - card + - bank + - ussd + - qr + - eft + - mobile_money + - bank_transfer + split_code: + description: The split code of the transaction split + type: string + subaccount: + description: The code for the subaccount that owns the payment + type: string + transaction_charge: + description: |- + A flat fee to charge the subaccount for a transaction. + This overrides the split percentage set when the subaccount was created + type: string + bearer: + description: The beare of the transaction charge + type: string + enum: + - account + - subaccount + responses: + '200': + $ref: '#/paths/~1bank~1resolve/get/responses/200' + '401': + $ref: '#/paths/~1bank~1resolve/get/responses/401' + default: + description: Server error + /transaction/charge_authorization: + post: + tags: + - Transaction + summary: Charge Authorization + operationId: transaction_chargeAuthorization + requestBody: + content: + application/x-www-form-urlencoded: + schema: + $ref: '#/paths/~1transaction~1charge_authorization/post/requestBody/content/application~1json/schema' + application/json: + schema: + type: object + required: + - email + - amount + - authorization_code + properties: + email: + description: Customer's email address + type: string + amount: + description: 'Amount should be in kobo if currency is NGN, pesewas, if currency is GHS, and cents, if currency is ZAR' + type: integer + authorization_code: + description: Valid authorization code to charge + type: string + reference: + description: 'Unique transaction reference. Only -, ., = and alphanumeric characters allowed.' + type: string + currency: + description: The transaction currency + type: string + enum: + - NGN + - GHS + - ZAR + - USD + metadata: + description: Stringified JSON object of custom data + type: string + split_code: + description: The split code of the transaction split + type: string + subaccount: + description: The code for the subaccount that owns the payment + type: string + transaction_charge: + description: |- + A flat fee to charge the subaccount for a transaction. + This overrides the split percentage set when the subaccount was created + type: string + bearer: + description: The beare of the transaction charge + type: string + enum: + - account + - subaccount + queue: + description: 'If you are making a scheduled charge call, it is a good idea to queue them so the processing system does not get overloaded causing transaction processing errors.' + type: boolean + responses: + '200': + $ref: '#/paths/~1bank~1resolve/get/responses/200' + '401': + $ref: '#/paths/~1bank~1resolve/get/responses/401' + default: + description: Server error + /bank/resolve: + get: + tags: + - Verification + summary: Resolve Account Number + operationId: verification_resolveAccountNumber + parameters: + - name: account_number + in: query + schema: + type: integer + example: 0022728151 + - name: bank_code + in: query + schema: + type: integer + example: '063' + responses: + '200': + description: Request successful + content: + application/json: + schema: + $ref: '#/components/responses/Ok/content/application~1json/schema' + '401': + description: Unauthorized operation + content: + application/json: + schema: + type: object + properties: + status: + type: boolean + message: + type: string + '404': + $ref: '#/paths/~1bank~1resolve/get/responses/401' + default: + description: Server error + /transferrecipient: + post: + tags: + - Transfer Recipient + summary: Create Transfer Recipient + operationId: transferrecipient_create + requestBody: + content: + application/x-www-form-urlencoded: + schema: + $ref: '#/paths/~1transferrecipient/post/requestBody/content/application~1json/schema' + application/json: + schema: + type: object + required: + - type + - name + - account_number + - bank_code + properties: + type: + description: Recipient Type (Only nuban at this time) + type: string + name: + description: Recipient's name + type: string + account_number: + description: Recipient's bank account number + type: string + bank_code: + description: Recipient's bank code. You can get the list of Bank Codes by calling the List Banks endpoint + type: string + description: + description: A description for this recipient + type: string + currency: + description: Currency for the account receiving the transfer + type: string + authorization_code: + description: An authorization code from a previous transaction + type: string + metadata: + description: Stringified JSON object of custom data + type: string + responses: + '201': + description: Resource created + content: + application/json: + schema: + $ref: '#/components/responses/Ok/content/application~1json/schema' + '401': + $ref: '#/paths/~1bank~1resolve/get/responses/401' + default: + description: Server error + /transfer/bulk: + post: + tags: + - Transfer + summary: Initiate Bulk Transfer + operationId: transfer_bulk + requestBody: + content: + application/x-www-form-urlencoded: + schema: + $ref: '#/paths/~1transfer~1bulk/post/requestBody/content/application~1json/schema' + application/json: + schema: + type: object + required: + - batch + properties: + source: + description: Where should we transfer from? Only balance is allowed for now + type: string + transfers: + description: 'A list of transfer object. Each object should contain amount, recipient, and reference' + type: array + items: + type: object + required: + - source + - amount + - recipient + properties: + source: + description: Where should we transfer from? Only balance is allowed for now + type: string + amount: + description: Amount to transfer in kobo if currency is NGN and pesewas if currency is GHS. + type: string + recipient: + description: The transfer recipient's code + type: string + reason: + description: The reason or narration for the transfer. + type: string + currency: + description: Specify the currency of the transfer. Defaults to NGN. + type: string + reference: + description: |- + If specified, the field should be a unique identifier (in lowercase) for the object. + Only -,_ and alphanumeric characters are allowed. + type: string + responses: + '200': + $ref: '#/paths/~1bank~1resolve/get/responses/200' + '401': + $ref: '#/paths/~1bank~1resolve/get/responses/401' + default: + description: Server error +components: + securitySchemes: + bearerAuth: + type: http + scheme: bearer + schemas: + Customer: + allOf: + - type: object + required: + - email + properties: + email: + description: Customer's email address + type: string + - type: object + properties: + first_name: + description: Customer's first name + type: string + last_name: + description: Customer's last name + type: string + phone: + description: Customer's phone number + type: string + metadata: + description: Stringified JSON object of custom data + type: string + - type: object + required: + - authorization_code + properties: + authorization_code: + description: Customer's authorization code to be deactivated + type: string + - type: object + required: + - customer + properties: + customer: + description: 'Customer''s code, or email address' + type: string + risk_action: + description: | + One of the possible risk actions [ default, allow, deny ]. allow to whitelist. + deny to blacklist. Customers start with a default risk action. + type: string + enum: + - default + - allow + - deny + - type: object + required: + - type + - country + - bvn + - bank_code + - account_number + properties: + type: + description: Predefined types of identification. + type: string + enum: + - bvn + - bank_account + country: + description: Two-letter country code of identification issuer + type: string + bvn: + description: Customer's Bank Verification Number + type: string + bank_code: + description: 'You can get the list of bank codes by calling the List Banks endpoint (https://api.paystack.co/bank).' + type: string + account_number: + description: Customer's bank account number. + type: string + value: + description: Customer's identification number. Required if type is bvn + type: string + Error: + type: object + properties: + status: + type: boolean + message: + type: string + Response: + type: object + properties: + status: + type: boolean + message: + type: string + data: + type: object + responses: + Ok: + description: Successful operation + content: + application/json: + schema: + type: object + properties: + status: + type: boolean + message: + type: string + data: + type: object + Created: + description: Resource created + content: + application/json: + schema: + $ref: '#/components/schemas/Response' + NotFound: + description: Entity not found + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + example: + status: false + message: Entity not found + Unauthorized: + description: Unauthorized operation + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + example: + status: false + message: Invalid key + GeneralError: + description: General Error + content: + application/json: + schema: + $ref: '#/components/schemas/Error' +security: + - bearerAuth: [] From ffb51f28466987ccf1a3a0caaad05403cbe86589 Mon Sep 17 00:00:00 2001 From: Damilola Odujoko <60398567+damilola-paystack@users.noreply.github.com> Date: Thu, 28 Jul 2022 15:35:52 +0100 Subject: [PATCH 5/8] Update betting_schema.yaml Test update from GH --- postman/schemas/betting_schema.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postman/schemas/betting_schema.yaml b/postman/schemas/betting_schema.yaml index ab359b8..8e8d478 100644 --- a/postman/schemas/betting_schema.yaml +++ b/postman/schemas/betting_schema.yaml @@ -1,6 +1,6 @@ openapi: 3.0.1 info: - title: Test - Create a betting platform test from Postman + title: Test - Create a betting platform test from Github description: The OpenAPI specification for creating a betting platform using the Paystack API version: 1.0.0 servers: From 8ec1b23ebb93583a6017652d5cbd0f68f80aa3d2 Mon Sep 17 00:00:00 2001 From: Damilola Odujoko Date: Thu, 28 Jul 2022 15:45:50 +0100 Subject: [PATCH 6/8] Cleanuo --- ..._db1843e1-297b-4ad9-bfad-dcb52e30aa8c.json | 1613 ----------------- postman/schemas/betting_schema.yaml | 459 ----- {dist => use_cases}/betting_copy.yaml | 0 3 files changed, 2072 deletions(-) delete mode 100644 postman/collections/Test - Create a betting platform test_db1843e1-297b-4ad9-bfad-dcb52e30aa8c.json delete mode 100644 postman/schemas/betting_schema.yaml rename {dist => use_cases}/betting_copy.yaml (100%) diff --git a/postman/collections/Test - Create a betting platform test_db1843e1-297b-4ad9-bfad-dcb52e30aa8c.json b/postman/collections/Test - Create a betting platform test_db1843e1-297b-4ad9-bfad-dcb52e30aa8c.json deleted file mode 100644 index e83131f..0000000 --- a/postman/collections/Test - Create a betting platform test_db1843e1-297b-4ad9-bfad-dcb52e30aa8c.json +++ /dev/null @@ -1,1613 +0,0 @@ -{ - "info": { - "_postman_id": "87441441-d2e7-46d3-b824-62e8cae5e307", - "name": "Test - Create a betting platform test", - "description": "The OpenAPI specification for creating a betting platform using the Paystack API", - "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" - }, - "item": [ - { - "name": "transaction", - "item": [ - { - "name": "Initialize Transaction", - "id": "4116d0a9-d759-4d00-9f30-c6cd2a13570f", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/x-www-form-urlencoded" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "urlencoded", - "urlencoded": [ - { - "key": "email", - "value": "aliqua sint eu", - "description": "(Required) Customer's email address" - }, - { - "key": "amount", - "value": "89347303", - "description": "(Required) Amount should be in kobo if currency is NGN, pesewas, if currency is GHS, and cents, if currency is ZAR" - }, - { - "key": "currency", - "value": "GHS", - "description": "The transaction currency" - }, - { - "key": "reference", - "value": "velit Lorem ullamco sunt", - "description": "Unique transaction reference. Only -, ., = and alphanumeric characters allowed." - }, - { - "key": "callback_url", - "value": "amet commodo officia", - "description": "Fully qualified url, e.g. https://example.com/ . Use this to override the callback url provided on the dashboard for this transaction" - }, - { - "key": "plan", - "value": "quis ut reprehenderit proident", - "description": "If transaction is to create a subscription to a predefined plan, provide plan code here. \nThis would invalidate the value provided in amount" - }, - { - "key": "invoice_limit", - "value": "71796745", - "description": "Number of times to charge customer during subscription to plan" - }, - { - "key": "metadata", - "value": "sint proident ipsum magna exercita", - "description": "Stringified JSON object of custom data" - }, - { - "key": "channels", - "value": "eft", - "description": "An array of payment channels to control what channels you want to make available to the user to make a payment with" - }, - { - "key": "channels", - "value": "qr", - "description": "An array of payment channels to control what channels you want to make available to the user to make a payment with" - }, - { - "key": "split_code", - "value": "labore nulla", - "description": "The split code of the transaction split" - }, - { - "key": "subaccount", - "value": "exercitation nostrud proident sint", - "description": "The code for the subaccount that owns the payment" - }, - { - "key": "transaction_charge", - "value": "exercitation fugiat quis", - "description": "A flat fee to charge the subaccount for a transaction. \nThis overrides the split percentage set when the subaccount was created" - }, - { - "key": "bearer", - "value": "subaccount", - "description": "The beare of the transaction charge" - } - ] - }, - "url": { - "raw": "{{baseUrl}}/transaction/initialize", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transaction", - "initialize" - ] - }, - "description": "Create a new transaction. Adding some more text for test." - }, - "response": [ - { - "id": "4e1f3f5d-8804-4b33-9636-33ee914a5a0b", - "name": "Request successful", - "originalRequest": { - "method": "POST", - "header": [ - { - "description": "Added as a part of security scheme: bearer", - "key": "Authorization", - "value": "Bearer " - } - ], - "body": { - "mode": "urlencoded", - "urlencoded": [ - { - "description": "(Required) Customer's email address", - "key": "email", - "value": "dolor ea" - }, - { - "description": "(Required) Amount should be in kobo if currency is NGN, pesewas, if currency is GHS, and cents, if currency is ZAR", - "key": "amount", - "value": "-61875804" - }, - { - "description": "The transaction currency", - "key": "currency", - "value": "NGN" - }, - { - "description": "Unique transaction reference. Only -, ., = and alphanumeric characters allowed.", - "key": "reference", - "value": "mollit nulla" - }, - { - "description": "Fully qualified url, e.g. https://example.com/ . Use this to override the callback url provided on the dashboard for this transaction", - "key": "callback_url", - "value": "sunt" - }, - { - "description": "If transaction is to create a subscription to a predefined plan, provide plan code here. \nThis would invalidate the value provided in amount", - "key": "plan", - "value": "dolore" - }, - { - "description": "Number of times to charge customer during subscription to plan", - "key": "invoice_limit", - "value": "-91880013" - }, - { - "description": "Stringified JSON object of custom data", - "key": "metadata", - "value": "commodo pro" - }, - { - "description": "An array of payment channels to control what channels you want to make available to the user to make a payment with", - "key": "channels", - "value": "card" - }, - { - "description": "An array of payment channels to control what channels you want to make available to the user to make a payment with", - "key": "channels", - "value": "qr" - }, - { - "description": "The split code of the transaction split", - "key": "split_code", - "value": "elit qui adipisicing" - }, - { - "description": "The code for the subaccount that owns the payment", - "key": "subaccount", - "value": "incididunt Excepteur consectetur magna" - }, - { - "description": "A flat fee to charge the subaccount for a transaction. \nThis overrides the split percentage set when the subaccount was created", - "key": "transaction_charge", - "value": "eu Excepteur veniam" - }, - { - "description": "The beare of the transaction charge", - "key": "bearer", - "value": "subaccount" - } - ] - }, - "url": { - "raw": "{{baseUrl}}/transaction/initialize", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transaction", - "initialize" - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "responseTime": null, - "body": "{\n \"status\": true,\n \"message\": \"enim anim dolore sit\",\n \"data\": {}\n}" - }, - { - "id": "e42fe402-8f5e-4d28-894b-a37da38ed0b9", - "name": "Unauthorized operation", - "originalRequest": { - "method": "POST", - "header": [ - { - "description": "Added as a part of security scheme: bearer", - "key": "Authorization", - "value": "Bearer " - } - ], - "body": { - "mode": "urlencoded", - "urlencoded": [ - { - "description": "(Required) Customer's email address", - "key": "email", - "value": "dolor ea" - }, - { - "description": "(Required) Amount should be in kobo if currency is NGN, pesewas, if currency is GHS, and cents, if currency is ZAR", - "key": "amount", - "value": "-61875804" - }, - { - "description": "The transaction currency", - "key": "currency", - "value": "NGN" - }, - { - "description": "Unique transaction reference. Only -, ., = and alphanumeric characters allowed.", - "key": "reference", - "value": "mollit nulla" - }, - { - "description": "Fully qualified url, e.g. https://example.com/ . Use this to override the callback url provided on the dashboard for this transaction", - "key": "callback_url", - "value": "sunt" - }, - { - "description": "If transaction is to create a subscription to a predefined plan, provide plan code here. \nThis would invalidate the value provided in amount", - "key": "plan", - "value": "dolore" - }, - { - "description": "Number of times to charge customer during subscription to plan", - "key": "invoice_limit", - "value": "-91880013" - }, - { - "description": "Stringified JSON object of custom data", - "key": "metadata", - "value": "commodo pro" - }, - { - "description": "An array of payment channels to control what channels you want to make available to the user to make a payment with", - "key": "channels", - "value": "card" - }, - { - "description": "An array of payment channels to control what channels you want to make available to the user to make a payment with", - "key": "channels", - "value": "qr" - }, - { - "description": "The split code of the transaction split", - "key": "split_code", - "value": "elit qui adipisicing" - }, - { - "description": "The code for the subaccount that owns the payment", - "key": "subaccount", - "value": "incididunt Excepteur consectetur magna" - }, - { - "description": "A flat fee to charge the subaccount for a transaction. \nThis overrides the split percentage set when the subaccount was created", - "key": "transaction_charge", - "value": "eu Excepteur veniam" - }, - { - "description": "The beare of the transaction charge", - "key": "bearer", - "value": "subaccount" - } - ] - }, - "url": { - "raw": "{{baseUrl}}/transaction/initialize", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transaction", - "initialize" - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "responseTime": null, - "body": "{\n \"status\": false,\n \"message\": \"do nulla Duis ut\"\n}" - }, - { - "id": "96c7c8ff-57d0-4e77-8a3d-faf4edd7da78", - "name": "Server error", - "originalRequest": { - "method": "POST", - "header": [ - { - "description": "Added as a part of security scheme: bearer", - "key": "Authorization", - "value": "Bearer " - } - ], - "body": { - "mode": "urlencoded", - "urlencoded": [ - { - "description": "(Required) Customer's email address", - "key": "email", - "value": "dolor ea" - }, - { - "description": "(Required) Amount should be in kobo if currency is NGN, pesewas, if currency is GHS, and cents, if currency is ZAR", - "key": "amount", - "value": "-61875804" - }, - { - "description": "The transaction currency", - "key": "currency", - "value": "NGN" - }, - { - "description": "Unique transaction reference. Only -, ., = and alphanumeric characters allowed.", - "key": "reference", - "value": "mollit nulla" - }, - { - "description": "Fully qualified url, e.g. https://example.com/ . Use this to override the callback url provided on the dashboard for this transaction", - "key": "callback_url", - "value": "sunt" - }, - { - "description": "If transaction is to create a subscription to a predefined plan, provide plan code here. \nThis would invalidate the value provided in amount", - "key": "plan", - "value": "dolore" - }, - { - "description": "Number of times to charge customer during subscription to plan", - "key": "invoice_limit", - "value": "-91880013" - }, - { - "description": "Stringified JSON object of custom data", - "key": "metadata", - "value": "commodo pro" - }, - { - "description": "An array of payment channels to control what channels you want to make available to the user to make a payment with", - "key": "channels", - "value": "card" - }, - { - "description": "An array of payment channels to control what channels you want to make available to the user to make a payment with", - "key": "channels", - "value": "qr" - }, - { - "description": "The split code of the transaction split", - "key": "split_code", - "value": "elit qui adipisicing" - }, - { - "description": "The code for the subaccount that owns the payment", - "key": "subaccount", - "value": "incididunt Excepteur consectetur magna" - }, - { - "description": "A flat fee to charge the subaccount for a transaction. \nThis overrides the split percentage set when the subaccount was created", - "key": "transaction_charge", - "value": "eu Excepteur veniam" - }, - { - "description": "The beare of the transaction charge", - "key": "bearer", - "value": "subaccount" - } - ] - }, - "url": { - "raw": "{{baseUrl}}/transaction/initialize", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transaction", - "initialize" - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "text", - "header": [ - { - "key": "Content-Type", - "value": "text/plain" - } - ], - "cookie": [], - "responseTime": null, - "body": "" - } - ] - }, - { - "name": "Charge Authorization", - "id": "831bb0b8-a1e0-4daf-93e2-0cd8fd7ff48b", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/x-www-form-urlencoded" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "urlencoded", - "urlencoded": [ - { - "key": "email", - "value": "non minim", - "description": "(Required) Customer's email address" - }, - { - "key": "amount", - "value": "-34900033", - "description": "(Required) Amount should be in kobo if currency is NGN, pesewas, if currency is GHS, and cents, if currency is ZAR" - }, - { - "key": "authorization_code", - "value": "aliquip mollit", - "description": "(Required) Valid authorization code to charge" - }, - { - "key": "reference", - "value": "cillum", - "description": "Unique transaction reference. Only -, ., = and alphanumeric characters allowed." - }, - { - "key": "currency", - "value": "GHS", - "description": "The transaction currency" - }, - { - "key": "metadata", - "value": "laboris in dolore aliqua", - "description": "Stringified JSON object of custom data" - }, - { - "key": "split_code", - "value": "ullamco sit", - "description": "The split code of the transaction split" - }, - { - "key": "subaccount", - "value": "ex anim consequat aliqua", - "description": "The code for the subaccount that owns the payment" - }, - { - "key": "transaction_charge", - "value": "cillum Duis", - "description": "A flat fee to charge the subaccount for a transaction. \nThis overrides the split percentage set when the subaccount was created" - }, - { - "key": "bearer", - "value": "subaccount", - "description": "The beare of the transaction charge" - }, - { - "key": "queue", - "value": "true", - "description": "If you are making a scheduled charge call, it is a good idea to queue them so the processing system does not get overloaded causing transaction processing errors." - } - ] - }, - "url": { - "raw": "{{baseUrl}}/transaction/charge_authorization", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transaction", - "charge_authorization" - ] - } - }, - "response": [ - { - "id": "48fe9d69-608a-41c3-bab3-3734799129da", - "name": "Request successful", - "originalRequest": { - "method": "POST", - "header": [ - { - "description": "Added as a part of security scheme: bearer", - "key": "Authorization", - "value": "Bearer " - } - ], - "body": { - "mode": "urlencoded", - "urlencoded": [ - { - "description": "(Required) Customer's email address", - "key": "email", - "value": "non minim" - }, - { - "description": "(Required) Amount should be in kobo if currency is NGN, pesewas, if currency is GHS, and cents, if currency is ZAR", - "key": "amount", - "value": "-34900033" - }, - { - "description": "(Required) Valid authorization code to charge", - "key": "authorization_code", - "value": "aliquip mollit" - }, - { - "description": "Unique transaction reference. Only -, ., = and alphanumeric characters allowed.", - "key": "reference", - "value": "cillum" - }, - { - "description": "The transaction currency", - "key": "currency", - "value": "GHS" - }, - { - "description": "Stringified JSON object of custom data", - "key": "metadata", - "value": "laboris in dolore aliqua" - }, - { - "description": "The split code of the transaction split", - "key": "split_code", - "value": "ullamco sit" - }, - { - "description": "The code for the subaccount that owns the payment", - "key": "subaccount", - "value": "ex anim consequat aliqua" - }, - { - "description": "A flat fee to charge the subaccount for a transaction. \nThis overrides the split percentage set when the subaccount was created", - "key": "transaction_charge", - "value": "cillum Duis" - }, - { - "description": "The beare of the transaction charge", - "key": "bearer", - "value": "subaccount" - }, - { - "description": "If you are making a scheduled charge call, it is a good idea to queue them so the processing system does not get overloaded causing transaction processing errors.", - "key": "queue", - "value": "true" - } - ] - }, - "url": { - "raw": "{{baseUrl}}/transaction/charge_authorization", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transaction", - "charge_authorization" - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "responseTime": null, - "body": "{\n \"status\": true,\n \"message\": \"enim anim dolore sit\",\n \"data\": {}\n}" - }, - { - "id": "61f11fa4-13f7-4937-b51a-8a5780163269", - "name": "Unauthorized operation", - "originalRequest": { - "method": "POST", - "header": [ - { - "description": "Added as a part of security scheme: bearer", - "key": "Authorization", - "value": "Bearer " - } - ], - "body": { - "mode": "urlencoded", - "urlencoded": [ - { - "description": "(Required) Customer's email address", - "key": "email", - "value": "non minim" - }, - { - "description": "(Required) Amount should be in kobo if currency is NGN, pesewas, if currency is GHS, and cents, if currency is ZAR", - "key": "amount", - "value": "-34900033" - }, - { - "description": "(Required) Valid authorization code to charge", - "key": "authorization_code", - "value": "aliquip mollit" - }, - { - "description": "Unique transaction reference. Only -, ., = and alphanumeric characters allowed.", - "key": "reference", - "value": "cillum" - }, - { - "description": "The transaction currency", - "key": "currency", - "value": "GHS" - }, - { - "description": "Stringified JSON object of custom data", - "key": "metadata", - "value": "laboris in dolore aliqua" - }, - { - "description": "The split code of the transaction split", - "key": "split_code", - "value": "ullamco sit" - }, - { - "description": "The code for the subaccount that owns the payment", - "key": "subaccount", - "value": "ex anim consequat aliqua" - }, - { - "description": "A flat fee to charge the subaccount for a transaction. \nThis overrides the split percentage set when the subaccount was created", - "key": "transaction_charge", - "value": "cillum Duis" - }, - { - "description": "The beare of the transaction charge", - "key": "bearer", - "value": "subaccount" - }, - { - "description": "If you are making a scheduled charge call, it is a good idea to queue them so the processing system does not get overloaded causing transaction processing errors.", - "key": "queue", - "value": "true" - } - ] - }, - "url": { - "raw": "{{baseUrl}}/transaction/charge_authorization", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transaction", - "charge_authorization" - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "responseTime": null, - "body": "{\n \"status\": false,\n \"message\": \"do nulla Duis ut\"\n}" - }, - { - "id": "764bf6db-843d-41f5-963b-4238ae35d984", - "name": "Server error", - "originalRequest": { - "method": "POST", - "header": [ - { - "description": "Added as a part of security scheme: bearer", - "key": "Authorization", - "value": "Bearer " - } - ], - "body": { - "mode": "urlencoded", - "urlencoded": [ - { - "description": "(Required) Customer's email address", - "key": "email", - "value": "non minim" - }, - { - "description": "(Required) Amount should be in kobo if currency is NGN, pesewas, if currency is GHS, and cents, if currency is ZAR", - "key": "amount", - "value": "-34900033" - }, - { - "description": "(Required) Valid authorization code to charge", - "key": "authorization_code", - "value": "aliquip mollit" - }, - { - "description": "Unique transaction reference. Only -, ., = and alphanumeric characters allowed.", - "key": "reference", - "value": "cillum" - }, - { - "description": "The transaction currency", - "key": "currency", - "value": "GHS" - }, - { - "description": "Stringified JSON object of custom data", - "key": "metadata", - "value": "laboris in dolore aliqua" - }, - { - "description": "The split code of the transaction split", - "key": "split_code", - "value": "ullamco sit" - }, - { - "description": "The code for the subaccount that owns the payment", - "key": "subaccount", - "value": "ex anim consequat aliqua" - }, - { - "description": "A flat fee to charge the subaccount for a transaction. \nThis overrides the split percentage set when the subaccount was created", - "key": "transaction_charge", - "value": "cillum Duis" - }, - { - "description": "The beare of the transaction charge", - "key": "bearer", - "value": "subaccount" - }, - { - "description": "If you are making a scheduled charge call, it is a good idea to queue them so the processing system does not get overloaded causing transaction processing errors.", - "key": "queue", - "value": "true" - } - ] - }, - "url": { - "raw": "{{baseUrl}}/transaction/charge_authorization", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transaction", - "charge_authorization" - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "text", - "header": [ - { - "key": "Content-Type", - "value": "text/plain" - } - ], - "cookie": [], - "responseTime": null, - "body": "" - } - ] - } - ], - "id": "b6c34152-36f1-405f-a036-59b7075af8a3" - }, - { - "name": "Resolve Account Number", - "id": "eea9fb1b-1435-4e3b-81f6-11fae6988e77", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/bank/resolve?account_number=53597329&bank_code=32958124", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "bank", - "resolve" - ], - "query": [ - { - "key": "account_number", - "value": "53597329" - }, - { - "key": "bank_code", - "value": "32958124" - } - ] - } - }, - "response": [ - { - "id": "e2bf3834-7b4e-4a44-bf5c-ee451da36845", - "name": "Request successful", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: bearer", - "key": "Authorization", - "value": "Bearer " - } - ], - "url": { - "raw": "{{baseUrl}}/bank/resolve?account_number=53597329&bank_code=32958124", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "bank", - "resolve" - ], - "query": [ - { - "key": "account_number", - "value": "53597329" - }, - { - "key": "bank_code", - "value": "32958124" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "responseTime": null, - "body": "{\n \"status\": true,\n \"message\": \"enim anim dolore sit\",\n \"data\": {}\n}" - }, - { - "id": "5b5e21c3-8972-4523-a267-ce4abb215a98", - "name": "Unauthorized operation", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: bearer", - "key": "Authorization", - "value": "Bearer " - } - ], - "url": { - "raw": "{{baseUrl}}/bank/resolve?account_number=53597329&bank_code=32958124", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "bank", - "resolve" - ], - "query": [ - { - "key": "account_number", - "value": "53597329" - }, - { - "key": "bank_code", - "value": "32958124" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "responseTime": null, - "body": "{\n \"status\": false,\n \"message\": \"do nulla Duis ut\"\n}" - }, - { - "id": "a3be8f82-48dd-4a88-bfb4-9dc4a9bb9015", - "name": "Unauthorized operation", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: bearer", - "key": "Authorization", - "value": "Bearer " - } - ], - "url": { - "raw": "{{baseUrl}}/bank/resolve?account_number=53597329&bank_code=32958124", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "bank", - "resolve" - ], - "query": [ - { - "key": "account_number", - "value": "53597329" - }, - { - "key": "bank_code", - "value": "32958124" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "responseTime": null, - "body": "{\n \"status\": false,\n \"message\": \"do nulla Duis ut\"\n}" - }, - { - "id": "ad14dad7-f0e8-490e-b52a-d6cfba9f89a2", - "name": "Server error", - "originalRequest": { - "method": "GET", - "header": [ - { - "description": "Added as a part of security scheme: bearer", - "key": "Authorization", - "value": "Bearer " - } - ], - "url": { - "raw": "{{baseUrl}}/bank/resolve?account_number=53597329&bank_code=32958124", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "bank", - "resolve" - ], - "query": [ - { - "key": "account_number", - "value": "53597329" - }, - { - "key": "bank_code", - "value": "32958124" - } - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "text", - "header": [ - { - "key": "Content-Type", - "value": "text/plain" - } - ], - "cookie": [], - "responseTime": null, - "body": "" - } - ] - }, - { - "name": "Create Transfer Recipient", - "id": "e1969b96-409d-42ca-a7b1-bdbcd67a1cc2", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/x-www-form-urlencoded" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "urlencoded", - "urlencoded": [ - { - "key": "type", - "value": "deserunt fugiat", - "description": "(Required) Recipient Type (Only nuban at this time)" - }, - { - "key": "name", - "value": "veniam in consequat id", - "description": "(Required) Recipient's name" - }, - { - "key": "account_number", - "value": "nisi Lorem dolore occaecat officia", - "description": "(Required) Recipient's bank account number" - }, - { - "key": "bank_code", - "value": "deserunt", - "description": "(Required) Recipient's bank code. You can get the list of Bank Codes by calling the List Banks endpoint" - }, - { - "key": "description", - "value": "ex adipisicin", - "description": "A description for this recipient" - }, - { - "key": "currency", - "value": "in minim nisi", - "description": "Currency for the account receiving the transfer" - }, - { - "key": "authorization_code", - "value": "eu culpa adipisicing occaecat minim", - "description": "An authorization code from a previous transaction" - }, - { - "key": "metadata", - "value": "cillum", - "description": "Stringified JSON object of custom data" - } - ] - }, - "url": { - "raw": "{{baseUrl}}/transferrecipient", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transferrecipient" - ] - } - }, - "response": [ - { - "id": "b16b5fa3-67c2-4071-8fce-9cf58abe91d4", - "name": "Resource created", - "originalRequest": { - "method": "POST", - "header": [ - { - "description": "Added as a part of security scheme: bearer", - "key": "Authorization", - "value": "Bearer " - } - ], - "body": { - "mode": "urlencoded", - "urlencoded": [ - { - "description": "(Required) Recipient Type (Only nuban at this time)", - "key": "type", - "value": "deserunt fugiat" - }, - { - "description": "(Required) Recipient's name", - "key": "name", - "value": "veniam in consequat id" - }, - { - "description": "(Required) Recipient's bank account number", - "key": "account_number", - "value": "nisi Lorem dolore occaecat officia" - }, - { - "description": "(Required) Recipient's bank code. You can get the list of Bank Codes by calling the List Banks endpoint", - "key": "bank_code", - "value": "deserunt" - }, - { - "description": "A description for this recipient", - "key": "description", - "value": "ex adipisicin" - }, - { - "description": "Currency for the account receiving the transfer", - "key": "currency", - "value": "in minim nisi" - }, - { - "description": "An authorization code from a previous transaction", - "key": "authorization_code", - "value": "eu culpa adipisicing occaecat minim" - }, - { - "description": "Stringified JSON object of custom data", - "key": "metadata", - "value": "cillum" - } - ] - }, - "url": { - "raw": "{{baseUrl}}/transferrecipient", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transferrecipient" - ] - } - }, - "status": "Created", - "code": 201, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "responseTime": null, - "body": "{\n \"status\": true,\n \"message\": \"enim anim dolore sit\",\n \"data\": {}\n}" - }, - { - "id": "d53ea85f-f366-4ae9-bb84-1ce4ad67c5d0", - "name": "Unauthorized operation", - "originalRequest": { - "method": "POST", - "header": [ - { - "description": "Added as a part of security scheme: bearer", - "key": "Authorization", - "value": "Bearer " - } - ], - "body": { - "mode": "urlencoded", - "urlencoded": [ - { - "description": "(Required) Recipient Type (Only nuban at this time)", - "key": "type", - "value": "deserunt fugiat" - }, - { - "description": "(Required) Recipient's name", - "key": "name", - "value": "veniam in consequat id" - }, - { - "description": "(Required) Recipient's bank account number", - "key": "account_number", - "value": "nisi Lorem dolore occaecat officia" - }, - { - "description": "(Required) Recipient's bank code. You can get the list of Bank Codes by calling the List Banks endpoint", - "key": "bank_code", - "value": "deserunt" - }, - { - "description": "A description for this recipient", - "key": "description", - "value": "ex adipisicin" - }, - { - "description": "Currency for the account receiving the transfer", - "key": "currency", - "value": "in minim nisi" - }, - { - "description": "An authorization code from a previous transaction", - "key": "authorization_code", - "value": "eu culpa adipisicing occaecat minim" - }, - { - "description": "Stringified JSON object of custom data", - "key": "metadata", - "value": "cillum" - } - ] - }, - "url": { - "raw": "{{baseUrl}}/transferrecipient", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transferrecipient" - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "responseTime": null, - "body": "{\n \"status\": false,\n \"message\": \"do nulla Duis ut\"\n}" - }, - { - "id": "33e64162-1678-478a-b639-497267b64117", - "name": "Server error", - "originalRequest": { - "method": "POST", - "header": [ - { - "description": "Added as a part of security scheme: bearer", - "key": "Authorization", - "value": "Bearer " - } - ], - "body": { - "mode": "urlencoded", - "urlencoded": [ - { - "description": "(Required) Recipient Type (Only nuban at this time)", - "key": "type", - "value": "deserunt fugiat" - }, - { - "description": "(Required) Recipient's name", - "key": "name", - "value": "veniam in consequat id" - }, - { - "description": "(Required) Recipient's bank account number", - "key": "account_number", - "value": "nisi Lorem dolore occaecat officia" - }, - { - "description": "(Required) Recipient's bank code. You can get the list of Bank Codes by calling the List Banks endpoint", - "key": "bank_code", - "value": "deserunt" - }, - { - "description": "A description for this recipient", - "key": "description", - "value": "ex adipisicin" - }, - { - "description": "Currency for the account receiving the transfer", - "key": "currency", - "value": "in minim nisi" - }, - { - "description": "An authorization code from a previous transaction", - "key": "authorization_code", - "value": "eu culpa adipisicing occaecat minim" - }, - { - "description": "Stringified JSON object of custom data", - "key": "metadata", - "value": "cillum" - } - ] - }, - "url": { - "raw": "{{baseUrl}}/transferrecipient", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transferrecipient" - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "text", - "header": [ - { - "key": "Content-Type", - "value": "text/plain" - } - ], - "cookie": [], - "responseTime": null, - "body": "" - } - ] - }, - { - "name": "Initiate Bulk Transfer", - "id": "3c93e2f8-3126-4c72-ad97-9f43c8892056", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/x-www-form-urlencoded" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "urlencoded", - "urlencoded": [ - { - "key": "source", - "value": "in", - "description": "Where should we transfer from? Only balance is allowed for now" - }, - { - "key": "transfers", - "value": "{\"source\":\"amet\",\"amount\":\"culpa sunt\",\"recipient\":\"exercitation\",\"reason\":\"nisi ex irure e\",\"currency\":\"fugiat tempor do\",\"reference\":\"aute ut eiusmod tempor\"}", - "description": "A list of transfer object. Each object should contain amount, recipient, and reference" - }, - { - "key": "transfers", - "value": "{\"source\":\"ut eu\",\"amount\":\"non proident Ut sunt\",\"recipient\":\"reprehenderit in occaecat cupidatat\",\"reason\":\"et cupidatat nostrud\",\"currency\":\"id Du\",\"reference\":\"ut Ut\"}", - "description": "A list of transfer object. Each object should contain amount, recipient, and reference" - } - ] - }, - "url": { - "raw": "{{baseUrl}}/transfer/bulk", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transfer", - "bulk" - ] - } - }, - "response": [ - { - "id": "97ae3a6f-412f-4cec-a351-568a591ed2ef", - "name": "Request successful", - "originalRequest": { - "method": "POST", - "header": [ - { - "description": "Added as a part of security scheme: bearer", - "key": "Authorization", - "value": "Bearer " - } - ], - "body": { - "mode": "urlencoded", - "urlencoded": [ - { - "description": "Where should we transfer from? Only balance is allowed for now", - "key": "source", - "value": "nisi do aliquip" - }, - { - "description": "A list of transfer object. Each object should contain amount, recipient, and reference", - "key": "transfers", - "value": "{\"source\":\"sunt occaecat Duis in\",\"amount\":\"sunt id\",\"recipient\":\"deserunt incididunt ut\",\"reason\":\"magna\",\"currency\":\"voluptate\",\"reference\":\"aliquip consequat\"}" - }, - { - "description": "A list of transfer object. Each object should contain amount, recipient, and reference", - "key": "transfers", - "value": "{\"source\":\"ipsum occaecat incididun\",\"amount\":\"ad in\",\"recipient\":\"ea reprehenderit ex nostrud\",\"reason\":\"in\",\"currency\":\"Excepteur minim pariatur\",\"reference\":\"Excepteur anim qui ut aliquip\"}" - } - ] - }, - "url": { - "raw": "{{baseUrl}}/transfer/bulk", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transfer", - "bulk" - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "responseTime": null, - "body": "{\n \"status\": true,\n \"message\": \"enim anim dolore sit\",\n \"data\": {}\n}" - }, - { - "id": "31eebc21-63a4-4880-a173-445d357bbf82", - "name": "Unauthorized operation", - "originalRequest": { - "method": "POST", - "header": [ - { - "description": "Added as a part of security scheme: bearer", - "key": "Authorization", - "value": "Bearer " - } - ], - "body": { - "mode": "urlencoded", - "urlencoded": [ - { - "description": "Where should we transfer from? Only balance is allowed for now", - "key": "source", - "value": "nisi do aliquip" - }, - { - "description": "A list of transfer object. Each object should contain amount, recipient, and reference", - "key": "transfers", - "value": "{\"source\":\"sunt occaecat Duis in\",\"amount\":\"sunt id\",\"recipient\":\"deserunt incididunt ut\",\"reason\":\"magna\",\"currency\":\"voluptate\",\"reference\":\"aliquip consequat\"}" - }, - { - "description": "A list of transfer object. Each object should contain amount, recipient, and reference", - "key": "transfers", - "value": "{\"source\":\"ipsum occaecat incididun\",\"amount\":\"ad in\",\"recipient\":\"ea reprehenderit ex nostrud\",\"reason\":\"in\",\"currency\":\"Excepteur minim pariatur\",\"reference\":\"Excepteur anim qui ut aliquip\"}" - } - ] - }, - "url": { - "raw": "{{baseUrl}}/transfer/bulk", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transfer", - "bulk" - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "responseTime": null, - "body": "{\n \"status\": false,\n \"message\": \"do nulla Duis ut\"\n}" - }, - { - "id": "5e11e390-82b0-4fb3-b655-4a7aef909290", - "name": "Server error", - "originalRequest": { - "method": "POST", - "header": [ - { - "description": "Added as a part of security scheme: bearer", - "key": "Authorization", - "value": "Bearer " - } - ], - "body": { - "mode": "urlencoded", - "urlencoded": [ - { - "description": "Where should we transfer from? Only balance is allowed for now", - "key": "source", - "value": "nisi do aliquip" - }, - { - "description": "A list of transfer object. Each object should contain amount, recipient, and reference", - "key": "transfers", - "value": "{\"source\":\"sunt occaecat Duis in\",\"amount\":\"sunt id\",\"recipient\":\"deserunt incididunt ut\",\"reason\":\"magna\",\"currency\":\"voluptate\",\"reference\":\"aliquip consequat\"}" - }, - { - "description": "A list of transfer object. Each object should contain amount, recipient, and reference", - "key": "transfers", - "value": "{\"source\":\"ipsum occaecat incididun\",\"amount\":\"ad in\",\"recipient\":\"ea reprehenderit ex nostrud\",\"reason\":\"in\",\"currency\":\"Excepteur minim pariatur\",\"reference\":\"Excepteur anim qui ut aliquip\"}" - } - ] - }, - "url": { - "raw": "{{baseUrl}}/transfer/bulk", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transfer", - "bulk" - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "text", - "header": [ - { - "key": "Content-Type", - "value": "text/plain" - } - ], - "cookie": [], - "responseTime": null, - "body": "" - } - ] - } - ], - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "", - "type": "string" - } - ] - }, - "variable": [ - { - "id": "0170cf04-a1d0-4c29-822a-c9b0954ee02b", - "key": "baseUrl", - "value": "https://api.paystack.co", - "type": "string" - } - ] -} \ No newline at end of file diff --git a/postman/schemas/betting_schema.yaml b/postman/schemas/betting_schema.yaml deleted file mode 100644 index 8e8d478..0000000 --- a/postman/schemas/betting_schema.yaml +++ /dev/null @@ -1,459 +0,0 @@ -openapi: 3.0.1 -info: - title: Test - Create a betting platform test from Github - description: The OpenAPI specification for creating a betting platform using the Paystack API - version: 1.0.0 -servers: - - url: 'https://api.paystack.co' - description: Base API endpoint -paths: - /transaction/initialize: - post: - tags: - - Transaction - summary: Initialize Transaction - operationId: transaction_initialize - description: Create a new transaction. Adding some more text for test. - requestBody: - content: - application/x-www-form-urlencoded: - schema: - $ref: '#/paths/~1transaction~1initialize/post/requestBody/content/application~1json/schema' - application/json: - schema: - type: object - required: - - email - - amount - properties: - email: - description: Customer's email address - type: string - amount: - description: 'Amount should be in kobo if currency is NGN, pesewas, if currency is GHS, and cents, if currency is ZAR' - type: integer - currency: - description: The transaction currency - type: string - enum: - - NGN - - GHS - - ZAR - - USD - reference: - description: 'Unique transaction reference. Only -, ., = and alphanumeric characters allowed.' - type: string - callback_url: - description: 'Fully qualified url, e.g. https://example.com/ . Use this to override the callback url provided on the dashboard for this transaction' - type: string - plan: - description: |- - If transaction is to create a subscription to a predefined plan, provide plan code here. - This would invalidate the value provided in amount - type: string - invoice_limit: - description: Number of times to charge customer during subscription to plan - type: integer - metadata: - description: Stringified JSON object of custom data - type: string - channels: - description: An array of payment channels to control what channels you want to make available to the user to make a payment with - type: array - items: - type: string - enum: - - card - - bank - - ussd - - qr - - eft - - mobile_money - - bank_transfer - split_code: - description: The split code of the transaction split - type: string - subaccount: - description: The code for the subaccount that owns the payment - type: string - transaction_charge: - description: |- - A flat fee to charge the subaccount for a transaction. - This overrides the split percentage set when the subaccount was created - type: string - bearer: - description: The beare of the transaction charge - type: string - enum: - - account - - subaccount - responses: - '200': - $ref: '#/paths/~1bank~1resolve/get/responses/200' - '401': - $ref: '#/paths/~1bank~1resolve/get/responses/401' - default: - description: Server error - /transaction/charge_authorization: - post: - tags: - - Transaction - summary: Charge Authorization - operationId: transaction_chargeAuthorization - requestBody: - content: - application/x-www-form-urlencoded: - schema: - $ref: '#/paths/~1transaction~1charge_authorization/post/requestBody/content/application~1json/schema' - application/json: - schema: - type: object - required: - - email - - amount - - authorization_code - properties: - email: - description: Customer's email address - type: string - amount: - description: 'Amount should be in kobo if currency is NGN, pesewas, if currency is GHS, and cents, if currency is ZAR' - type: integer - authorization_code: - description: Valid authorization code to charge - type: string - reference: - description: 'Unique transaction reference. Only -, ., = and alphanumeric characters allowed.' - type: string - currency: - description: The transaction currency - type: string - enum: - - NGN - - GHS - - ZAR - - USD - metadata: - description: Stringified JSON object of custom data - type: string - split_code: - description: The split code of the transaction split - type: string - subaccount: - description: The code for the subaccount that owns the payment - type: string - transaction_charge: - description: |- - A flat fee to charge the subaccount for a transaction. - This overrides the split percentage set when the subaccount was created - type: string - bearer: - description: The beare of the transaction charge - type: string - enum: - - account - - subaccount - queue: - description: 'If you are making a scheduled charge call, it is a good idea to queue them so the processing system does not get overloaded causing transaction processing errors.' - type: boolean - responses: - '200': - $ref: '#/paths/~1bank~1resolve/get/responses/200' - '401': - $ref: '#/paths/~1bank~1resolve/get/responses/401' - default: - description: Server error - /bank/resolve: - get: - tags: - - Verification - summary: Resolve Account Number - operationId: verification_resolveAccountNumber - parameters: - - name: account_number - in: query - schema: - type: integer - example: 0022728151 - - name: bank_code - in: query - schema: - type: integer - example: '063' - responses: - '200': - description: Request successful - content: - application/json: - schema: - $ref: '#/components/responses/Ok/content/application~1json/schema' - '401': - description: Unauthorized operation - content: - application/json: - schema: - type: object - properties: - status: - type: boolean - message: - type: string - '404': - $ref: '#/paths/~1bank~1resolve/get/responses/401' - default: - description: Server error - /transferrecipient: - post: - tags: - - Transfer Recipient - summary: Create Transfer Recipient - operationId: transferrecipient_create - requestBody: - content: - application/x-www-form-urlencoded: - schema: - $ref: '#/paths/~1transferrecipient/post/requestBody/content/application~1json/schema' - application/json: - schema: - type: object - required: - - type - - name - - account_number - - bank_code - properties: - type: - description: Recipient Type (Only nuban at this time) - type: string - name: - description: Recipient's name - type: string - account_number: - description: Recipient's bank account number - type: string - bank_code: - description: Recipient's bank code. You can get the list of Bank Codes by calling the List Banks endpoint - type: string - description: - description: A description for this recipient - type: string - currency: - description: Currency for the account receiving the transfer - type: string - authorization_code: - description: An authorization code from a previous transaction - type: string - metadata: - description: Stringified JSON object of custom data - type: string - responses: - '201': - description: Resource created - content: - application/json: - schema: - $ref: '#/components/responses/Ok/content/application~1json/schema' - '401': - $ref: '#/paths/~1bank~1resolve/get/responses/401' - default: - description: Server error - /transfer/bulk: - post: - tags: - - Transfer - summary: Initiate Bulk Transfer - operationId: transfer_bulk - requestBody: - content: - application/x-www-form-urlencoded: - schema: - $ref: '#/paths/~1transfer~1bulk/post/requestBody/content/application~1json/schema' - application/json: - schema: - type: object - required: - - batch - properties: - source: - description: Where should we transfer from? Only balance is allowed for now - type: string - transfers: - description: 'A list of transfer object. Each object should contain amount, recipient, and reference' - type: array - items: - type: object - required: - - source - - amount - - recipient - properties: - source: - description: Where should we transfer from? Only balance is allowed for now - type: string - amount: - description: Amount to transfer in kobo if currency is NGN and pesewas if currency is GHS. - type: string - recipient: - description: The transfer recipient's code - type: string - reason: - description: The reason or narration for the transfer. - type: string - currency: - description: Specify the currency of the transfer. Defaults to NGN. - type: string - reference: - description: |- - If specified, the field should be a unique identifier (in lowercase) for the object. - Only -,_ and alphanumeric characters are allowed. - type: string - responses: - '200': - $ref: '#/paths/~1bank~1resolve/get/responses/200' - '401': - $ref: '#/paths/~1bank~1resolve/get/responses/401' - default: - description: Server error -components: - securitySchemes: - bearerAuth: - type: http - scheme: bearer - schemas: - Customer: - allOf: - - type: object - required: - - email - properties: - email: - description: Customer's email address - type: string - - type: object - properties: - first_name: - description: Customer's first name - type: string - last_name: - description: Customer's last name - type: string - phone: - description: Customer's phone number - type: string - metadata: - description: Stringified JSON object of custom data - type: string - - type: object - required: - - authorization_code - properties: - authorization_code: - description: Customer's authorization code to be deactivated - type: string - - type: object - required: - - customer - properties: - customer: - description: 'Customer''s code, or email address' - type: string - risk_action: - description: | - One of the possible risk actions [ default, allow, deny ]. allow to whitelist. - deny to blacklist. Customers start with a default risk action. - type: string - enum: - - default - - allow - - deny - - type: object - required: - - type - - country - - bvn - - bank_code - - account_number - properties: - type: - description: Predefined types of identification. - type: string - enum: - - bvn - - bank_account - country: - description: Two-letter country code of identification issuer - type: string - bvn: - description: Customer's Bank Verification Number - type: string - bank_code: - description: 'You can get the list of bank codes by calling the List Banks endpoint (https://api.paystack.co/bank).' - type: string - account_number: - description: Customer's bank account number. - type: string - value: - description: Customer's identification number. Required if type is bvn - type: string - Error: - type: object - properties: - status: - type: boolean - message: - type: string - Response: - type: object - properties: - status: - type: boolean - message: - type: string - data: - type: object - responses: - Ok: - description: Successful operation - content: - application/json: - schema: - type: object - properties: - status: - type: boolean - message: - type: string - data: - type: object - Created: - description: Resource created - content: - application/json: - schema: - $ref: '#/components/schemas/Response' - NotFound: - description: Entity not found - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - example: - status: false - message: Entity not found - Unauthorized: - description: Unauthorized operation - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - example: - status: false - message: Invalid key - GeneralError: - description: General Error - content: - application/json: - schema: - $ref: '#/components/schemas/Error' -security: - - bearerAuth: [] diff --git a/dist/betting_copy.yaml b/use_cases/betting_copy.yaml similarity index 100% rename from dist/betting_copy.yaml rename to use_cases/betting_copy.yaml From 4b9b4e6a2a4acdf10f7cf5c324d0f10291402682 Mon Sep 17 00:00:00 2001 From: paystack Date: Thu, 28 Jul 2022 16:03:41 +0100 Subject: [PATCH 7/8] Collection creation --- ..._5c26e041-cab0-45d4-b984-6ab7e9b6b975.json | 1613 +++++++++++++++++ 1 file changed, 1613 insertions(+) create mode 100644 postman/collections/Test - Create a betting integration_5c26e041-cab0-45d4-b984-6ab7e9b6b975.json diff --git a/postman/collections/Test - Create a betting integration_5c26e041-cab0-45d4-b984-6ab7e9b6b975.json b/postman/collections/Test - Create a betting integration_5c26e041-cab0-45d4-b984-6ab7e9b6b975.json new file mode 100644 index 0000000..5e55555 --- /dev/null +++ b/postman/collections/Test - Create a betting integration_5c26e041-cab0-45d4-b984-6ab7e9b6b975.json @@ -0,0 +1,1613 @@ +{ + "info": { + "_postman_id": "dc1c71ff-f4fa-48c2-b78c-c329ac708bd6", + "name": "Test - Create a betting integration", + "description": "The OpenAPI specification for creating a betting platform using the Paystack API", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" + }, + "item": [ + { + "name": "transaction", + "item": [ + { + "name": "Initialize Transaction", + "id": "0831766b-2187-4f9b-8cb2-b3a57f1b6dba", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/x-www-form-urlencoded" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "urlencoded", + "urlencoded": [ + { + "key": "email", + "value": "venia", + "description": "(Required) Customer's email address" + }, + { + "key": "amount", + "value": "-49578451", + "description": "(Required) Amount should be in kobo if currency is NGN, pesewas, if currency is GHS, and cents, if currency is ZAR" + }, + { + "key": "currency", + "value": "NGN", + "description": "The transaction currency" + }, + { + "key": "reference", + "value": "dolor nisi", + "description": "Unique transaction reference. Only -, ., = and alphanumeric characters allowed." + }, + { + "key": "callback_url", + "value": "dolore irure", + "description": "Fully qualified url, e.g. https://example.com/ . Use this to override the callback url provided on the dashboard for this transaction" + }, + { + "key": "plan", + "value": "sit Excepteur irure", + "description": "If transaction is to create a subscription to a predefined plan, provide plan code here. \nThis would invalidate the value provided in amount" + }, + { + "key": "invoice_limit", + "value": "43984881", + "description": "Number of times to charge customer during subscription to plan" + }, + { + "key": "metadata", + "value": "velit dolore", + "description": "Stringified JSON object of custom data" + }, + { + "key": "channels", + "value": "qr", + "description": "An array of payment channels to control what channels you want to make available to the user to make a payment with" + }, + { + "key": "channels", + "value": "eft", + "description": "An array of payment channels to control what channels you want to make available to the user to make a payment with" + }, + { + "key": "split_code", + "value": "dolor", + "description": "The split code of the transaction split" + }, + { + "key": "subaccount", + "value": "occaecat dolore elit", + "description": "The code for the subaccount that owns the payment" + }, + { + "key": "transaction_charge", + "value": "proident non", + "description": "A flat fee to charge the subaccount for a transaction. \nThis overrides the split percentage set when the subaccount was created" + }, + { + "key": "bearer", + "value": "account", + "description": "The beare of the transaction charge" + } + ] + }, + "url": { + "raw": "{{baseUrl}}/transaction/initialize", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transaction", + "initialize" + ] + }, + "description": "Create a new transaction. Adding some more text for test." + }, + "response": [ + { + "id": "91f45594-c342-4088-9c53-f6f5c061a789", + "name": "Request successful", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "urlencoded", + "urlencoded": [ + { + "description": "(Required) Customer's email address", + "key": "email", + "value": "mollit Ut sint in adipisicing" + }, + { + "description": "(Required) Amount should be in kobo if currency is NGN, pesewas, if currency is GHS, and cents, if currency is ZAR", + "key": "amount", + "value": "-57214370" + }, + { + "description": "The transaction currency", + "key": "currency", + "value": "GHS" + }, + { + "description": "Unique transaction reference. Only -, ., = and alphanumeric characters allowed.", + "key": "reference", + "value": "aliquip velit nostrud Ut" + }, + { + "description": "Fully qualified url, e.g. https://example.com/ . Use this to override the callback url provided on the dashboard for this transaction", + "key": "callback_url", + "value": "dolore Lorem" + }, + { + "description": "If transaction is to create a subscription to a predefined plan, provide plan code here. \nThis would invalidate the value provided in amount", + "key": "plan", + "value": "incididunt non reprehe" + }, + { + "description": "Number of times to charge customer during subscription to plan", + "key": "invoice_limit", + "value": "75534314" + }, + { + "description": "Stringified JSON object of custom data", + "key": "metadata", + "value": "deserunt eu amet consequat" + }, + { + "description": "An array of payment channels to control what channels you want to make available to the user to make a payment with", + "key": "channels", + "value": "bank_transfer" + }, + { + "description": "An array of payment channels to control what channels you want to make available to the user to make a payment with", + "key": "channels", + "value": "mobile_money" + }, + { + "description": "The split code of the transaction split", + "key": "split_code", + "value": "cillum ad et" + }, + { + "description": "The code for the subaccount that owns the payment", + "key": "subaccount", + "value": "Excepteur quis sunt" + }, + { + "description": "A flat fee to charge the subaccount for a transaction. \nThis overrides the split percentage set when the subaccount was created", + "key": "transaction_charge", + "value": "sed aute minim in" + }, + { + "description": "The beare of the transaction charge", + "key": "bearer", + "value": "account" + } + ] + }, + "url": { + "raw": "{{baseUrl}}/transaction/initialize", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transaction", + "initialize" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "responseTime": null, + "body": "{\n \"status\": false,\n \"message\": \"anim nostrud in consequat\",\n \"data\": {}\n}" + }, + { + "id": "d928ad8c-8289-4cfc-894a-6b47a430e5ea", + "name": "Unauthorized operation", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "urlencoded", + "urlencoded": [ + { + "description": "(Required) Customer's email address", + "key": "email", + "value": "mollit Ut sint in adipisicing" + }, + { + "description": "(Required) Amount should be in kobo if currency is NGN, pesewas, if currency is GHS, and cents, if currency is ZAR", + "key": "amount", + "value": "-57214370" + }, + { + "description": "The transaction currency", + "key": "currency", + "value": "GHS" + }, + { + "description": "Unique transaction reference. Only -, ., = and alphanumeric characters allowed.", + "key": "reference", + "value": "aliquip velit nostrud Ut" + }, + { + "description": "Fully qualified url, e.g. https://example.com/ . Use this to override the callback url provided on the dashboard for this transaction", + "key": "callback_url", + "value": "dolore Lorem" + }, + { + "description": "If transaction is to create a subscription to a predefined plan, provide plan code here. \nThis would invalidate the value provided in amount", + "key": "plan", + "value": "incididunt non reprehe" + }, + { + "description": "Number of times to charge customer during subscription to plan", + "key": "invoice_limit", + "value": "75534314" + }, + { + "description": "Stringified JSON object of custom data", + "key": "metadata", + "value": "deserunt eu amet consequat" + }, + { + "description": "An array of payment channels to control what channels you want to make available to the user to make a payment with", + "key": "channels", + "value": "bank_transfer" + }, + { + "description": "An array of payment channels to control what channels you want to make available to the user to make a payment with", + "key": "channels", + "value": "mobile_money" + }, + { + "description": "The split code of the transaction split", + "key": "split_code", + "value": "cillum ad et" + }, + { + "description": "The code for the subaccount that owns the payment", + "key": "subaccount", + "value": "Excepteur quis sunt" + }, + { + "description": "A flat fee to charge the subaccount for a transaction. \nThis overrides the split percentage set when the subaccount was created", + "key": "transaction_charge", + "value": "sed aute minim in" + }, + { + "description": "The beare of the transaction charge", + "key": "bearer", + "value": "account" + } + ] + }, + "url": { + "raw": "{{baseUrl}}/transaction/initialize", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transaction", + "initialize" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "responseTime": null, + "body": "{\n \"status\": false,\n \"message\": \"magna ut Excepteur nisi sed\"\n}" + }, + { + "id": "6116c418-adce-44a4-8be2-b4219284b1b7", + "name": "Server error", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "urlencoded", + "urlencoded": [ + { + "description": "(Required) Customer's email address", + "key": "email", + "value": "mollit Ut sint in adipisicing" + }, + { + "description": "(Required) Amount should be in kobo if currency is NGN, pesewas, if currency is GHS, and cents, if currency is ZAR", + "key": "amount", + "value": "-57214370" + }, + { + "description": "The transaction currency", + "key": "currency", + "value": "GHS" + }, + { + "description": "Unique transaction reference. Only -, ., = and alphanumeric characters allowed.", + "key": "reference", + "value": "aliquip velit nostrud Ut" + }, + { + "description": "Fully qualified url, e.g. https://example.com/ . Use this to override the callback url provided on the dashboard for this transaction", + "key": "callback_url", + "value": "dolore Lorem" + }, + { + "description": "If transaction is to create a subscription to a predefined plan, provide plan code here. \nThis would invalidate the value provided in amount", + "key": "plan", + "value": "incididunt non reprehe" + }, + { + "description": "Number of times to charge customer during subscription to plan", + "key": "invoice_limit", + "value": "75534314" + }, + { + "description": "Stringified JSON object of custom data", + "key": "metadata", + "value": "deserunt eu amet consequat" + }, + { + "description": "An array of payment channels to control what channels you want to make available to the user to make a payment with", + "key": "channels", + "value": "bank_transfer" + }, + { + "description": "An array of payment channels to control what channels you want to make available to the user to make a payment with", + "key": "channels", + "value": "mobile_money" + }, + { + "description": "The split code of the transaction split", + "key": "split_code", + "value": "cillum ad et" + }, + { + "description": "The code for the subaccount that owns the payment", + "key": "subaccount", + "value": "Excepteur quis sunt" + }, + { + "description": "A flat fee to charge the subaccount for a transaction. \nThis overrides the split percentage set when the subaccount was created", + "key": "transaction_charge", + "value": "sed aute minim in" + }, + { + "description": "The beare of the transaction charge", + "key": "bearer", + "value": "account" + } + ] + }, + "url": { + "raw": "{{baseUrl}}/transaction/initialize", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transaction", + "initialize" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "responseTime": null, + "body": "" + } + ] + }, + { + "name": "Charge Authorization", + "id": "1b70eb43-9c51-42e5-aa4e-ec2f4caa8dfb", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/x-www-form-urlencoded" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "urlencoded", + "urlencoded": [ + { + "key": "email", + "value": "sit id ut", + "description": "(Required) Customer's email address" + }, + { + "key": "amount", + "value": "50060804", + "description": "(Required) Amount should be in kobo if currency is NGN, pesewas, if currency is GHS, and cents, if currency is ZAR" + }, + { + "key": "authorization_code", + "value": "consectetur cupidatat veniam ut", + "description": "(Required) Valid authorization code to charge" + }, + { + "key": "reference", + "value": "reprehenderit in", + "description": "Unique transaction reference. Only -, ., = and alphanumeric characters allowed." + }, + { + "key": "currency", + "value": "ZAR", + "description": "The transaction currency" + }, + { + "key": "metadata", + "value": "consectetur eiusmod", + "description": "Stringified JSON object of custom data" + }, + { + "key": "split_code", + "value": "in adipisicing occaecat", + "description": "The split code of the transaction split" + }, + { + "key": "subaccount", + "value": "labore esse ul", + "description": "The code for the subaccount that owns the payment" + }, + { + "key": "transaction_charge", + "value": "laborum velit do dolor", + "description": "A flat fee to charge the subaccount for a transaction. \nThis overrides the split percentage set when the subaccount was created" + }, + { + "key": "bearer", + "value": "subaccount", + "description": "The beare of the transaction charge" + }, + { + "key": "queue", + "value": "true", + "description": "If you are making a scheduled charge call, it is a good idea to queue them so the processing system does not get overloaded causing transaction processing errors." + } + ] + }, + "url": { + "raw": "{{baseUrl}}/transaction/charge_authorization", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transaction", + "charge_authorization" + ] + } + }, + "response": [ + { + "id": "e07964e4-76c6-4da9-bce6-51081b1250e7", + "name": "Request successful", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "urlencoded", + "urlencoded": [ + { + "description": "(Required) Customer's email address", + "key": "email", + "value": "sit id ut" + }, + { + "description": "(Required) Amount should be in kobo if currency is NGN, pesewas, if currency is GHS, and cents, if currency is ZAR", + "key": "amount", + "value": "50060804" + }, + { + "description": "(Required) Valid authorization code to charge", + "key": "authorization_code", + "value": "consectetur cupidatat veniam ut" + }, + { + "description": "Unique transaction reference. Only -, ., = and alphanumeric characters allowed.", + "key": "reference", + "value": "reprehenderit in" + }, + { + "description": "The transaction currency", + "key": "currency", + "value": "ZAR" + }, + { + "description": "Stringified JSON object of custom data", + "key": "metadata", + "value": "consectetur eiusmod" + }, + { + "description": "The split code of the transaction split", + "key": "split_code", + "value": "in adipisicing occaecat" + }, + { + "description": "The code for the subaccount that owns the payment", + "key": "subaccount", + "value": "labore esse ul" + }, + { + "description": "A flat fee to charge the subaccount for a transaction. \nThis overrides the split percentage set when the subaccount was created", + "key": "transaction_charge", + "value": "laborum velit do dolor" + }, + { + "description": "The beare of the transaction charge", + "key": "bearer", + "value": "subaccount" + }, + { + "description": "If you are making a scheduled charge call, it is a good idea to queue them so the processing system does not get overloaded causing transaction processing errors.", + "key": "queue", + "value": "true" + } + ] + }, + "url": { + "raw": "{{baseUrl}}/transaction/charge_authorization", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transaction", + "charge_authorization" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "responseTime": null, + "body": "{\n \"status\": false,\n \"message\": \"anim nostrud in consequat\",\n \"data\": {}\n}" + }, + { + "id": "3a09ad88-bee4-48f1-beee-e3f39c64a4cc", + "name": "Unauthorized operation", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "urlencoded", + "urlencoded": [ + { + "description": "(Required) Customer's email address", + "key": "email", + "value": "sit id ut" + }, + { + "description": "(Required) Amount should be in kobo if currency is NGN, pesewas, if currency is GHS, and cents, if currency is ZAR", + "key": "amount", + "value": "50060804" + }, + { + "description": "(Required) Valid authorization code to charge", + "key": "authorization_code", + "value": "consectetur cupidatat veniam ut" + }, + { + "description": "Unique transaction reference. Only -, ., = and alphanumeric characters allowed.", + "key": "reference", + "value": "reprehenderit in" + }, + { + "description": "The transaction currency", + "key": "currency", + "value": "ZAR" + }, + { + "description": "Stringified JSON object of custom data", + "key": "metadata", + "value": "consectetur eiusmod" + }, + { + "description": "The split code of the transaction split", + "key": "split_code", + "value": "in adipisicing occaecat" + }, + { + "description": "The code for the subaccount that owns the payment", + "key": "subaccount", + "value": "labore esse ul" + }, + { + "description": "A flat fee to charge the subaccount for a transaction. \nThis overrides the split percentage set when the subaccount was created", + "key": "transaction_charge", + "value": "laborum velit do dolor" + }, + { + "description": "The beare of the transaction charge", + "key": "bearer", + "value": "subaccount" + }, + { + "description": "If you are making a scheduled charge call, it is a good idea to queue them so the processing system does not get overloaded causing transaction processing errors.", + "key": "queue", + "value": "true" + } + ] + }, + "url": { + "raw": "{{baseUrl}}/transaction/charge_authorization", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transaction", + "charge_authorization" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "responseTime": null, + "body": "{\n \"status\": false,\n \"message\": \"magna ut Excepteur nisi sed\"\n}" + }, + { + "id": "506b0047-a76f-4d69-999b-55e55b0e7450", + "name": "Server error", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "urlencoded", + "urlencoded": [ + { + "description": "(Required) Customer's email address", + "key": "email", + "value": "sit id ut" + }, + { + "description": "(Required) Amount should be in kobo if currency is NGN, pesewas, if currency is GHS, and cents, if currency is ZAR", + "key": "amount", + "value": "50060804" + }, + { + "description": "(Required) Valid authorization code to charge", + "key": "authorization_code", + "value": "consectetur cupidatat veniam ut" + }, + { + "description": "Unique transaction reference. Only -, ., = and alphanumeric characters allowed.", + "key": "reference", + "value": "reprehenderit in" + }, + { + "description": "The transaction currency", + "key": "currency", + "value": "ZAR" + }, + { + "description": "Stringified JSON object of custom data", + "key": "metadata", + "value": "consectetur eiusmod" + }, + { + "description": "The split code of the transaction split", + "key": "split_code", + "value": "in adipisicing occaecat" + }, + { + "description": "The code for the subaccount that owns the payment", + "key": "subaccount", + "value": "labore esse ul" + }, + { + "description": "A flat fee to charge the subaccount for a transaction. \nThis overrides the split percentage set when the subaccount was created", + "key": "transaction_charge", + "value": "laborum velit do dolor" + }, + { + "description": "The beare of the transaction charge", + "key": "bearer", + "value": "subaccount" + }, + { + "description": "If you are making a scheduled charge call, it is a good idea to queue them so the processing system does not get overloaded causing transaction processing errors.", + "key": "queue", + "value": "true" + } + ] + }, + "url": { + "raw": "{{baseUrl}}/transaction/charge_authorization", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transaction", + "charge_authorization" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "responseTime": null, + "body": "" + } + ] + } + ], + "id": "ad1c0292-d668-447f-86d6-4797c2ec2dec" + }, + { + "name": "Resolve Account Number", + "id": "b4d982e9-ec2e-4f57-8639-9924eb87f30f", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/bank/resolve?account_number=94268987&bank_code=6373458", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "bank", + "resolve" + ], + "query": [ + { + "key": "account_number", + "value": "94268987" + }, + { + "key": "bank_code", + "value": "6373458" + } + ] + } + }, + "response": [ + { + "id": "895fe4d6-e867-45f1-a32d-78ac35e27d17", + "name": "Request successful", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/bank/resolve?account_number=94268987&bank_code=6373458", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "bank", + "resolve" + ], + "query": [ + { + "key": "account_number", + "value": "94268987" + }, + { + "key": "bank_code", + "value": "6373458" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "responseTime": null, + "body": "{\n \"status\": false,\n \"message\": \"anim nostrud in consequat\",\n \"data\": {}\n}" + }, + { + "id": "7913884b-3805-4be2-9d38-cd73473e8fee", + "name": "Unauthorized operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/bank/resolve?account_number=94268987&bank_code=6373458", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "bank", + "resolve" + ], + "query": [ + { + "key": "account_number", + "value": "94268987" + }, + { + "key": "bank_code", + "value": "6373458" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "responseTime": null, + "body": "{\n \"status\": false,\n \"message\": \"magna ut Excepteur nisi sed\"\n}" + }, + { + "id": "6f7bcd33-c981-4bb0-b855-ab3ba7976ac8", + "name": "Unauthorized operation", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/bank/resolve?account_number=94268987&bank_code=6373458", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "bank", + "resolve" + ], + "query": [ + { + "key": "account_number", + "value": "94268987" + }, + { + "key": "bank_code", + "value": "6373458" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "responseTime": null, + "body": "{\n \"status\": false,\n \"message\": \"magna ut Excepteur nisi sed\"\n}" + }, + { + "id": "e1d80a5d-e8b2-44b2-8ab4-47b23733de75", + "name": "Server error", + "originalRequest": { + "method": "GET", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/bank/resolve?account_number=94268987&bank_code=6373458", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "bank", + "resolve" + ], + "query": [ + { + "key": "account_number", + "value": "94268987" + }, + { + "key": "bank_code", + "value": "6373458" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "responseTime": null, + "body": "" + } + ] + }, + { + "name": "Create Transfer Recipient", + "id": "6009641c-69ba-4a9d-9872-d7b93da1a63a", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/x-www-form-urlencoded" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "urlencoded", + "urlencoded": [ + { + "key": "type", + "value": "consectetur ipsum exercitation", + "description": "(Required) Recipient Type (Only nuban at this time)" + }, + { + "key": "name", + "value": "aliqua sit", + "description": "(Required) Recipient's name" + }, + { + "key": "account_number", + "value": "incididunt aute veniam", + "description": "(Required) Recipient's bank account number" + }, + { + "key": "bank_code", + "value": "elit consequat", + "description": "(Required) Recipient's bank code. You can get the list of Bank Codes by calling the List Banks endpoint" + }, + { + "key": "description", + "value": "in", + "description": "A description for this recipient" + }, + { + "key": "currency", + "value": "proident", + "description": "Currency for the account receiving the transfer" + }, + { + "key": "authorization_code", + "value": "exercitation aliqua sint occaecat sed", + "description": "An authorization code from a previous transaction" + }, + { + "key": "metadata", + "value": "consequat Ut laborum", + "description": "Stringified JSON object of custom data" + } + ] + }, + "url": { + "raw": "{{baseUrl}}/transferrecipient", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transferrecipient" + ] + } + }, + "response": [ + { + "id": "aba67800-db25-4a49-a2db-1c062fd663b3", + "name": "Resource created", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "urlencoded", + "urlencoded": [ + { + "description": "(Required) Recipient Type (Only nuban at this time)", + "key": "type", + "value": "consectetur ipsum exercitation" + }, + { + "description": "(Required) Recipient's name", + "key": "name", + "value": "aliqua sit" + }, + { + "description": "(Required) Recipient's bank account number", + "key": "account_number", + "value": "incididunt aute veniam" + }, + { + "description": "(Required) Recipient's bank code. You can get the list of Bank Codes by calling the List Banks endpoint", + "key": "bank_code", + "value": "elit consequat" + }, + { + "description": "A description for this recipient", + "key": "description", + "value": "in" + }, + { + "description": "Currency for the account receiving the transfer", + "key": "currency", + "value": "proident" + }, + { + "description": "An authorization code from a previous transaction", + "key": "authorization_code", + "value": "exercitation aliqua sint occaecat sed" + }, + { + "description": "Stringified JSON object of custom data", + "key": "metadata", + "value": "consequat Ut laborum" + } + ] + }, + "url": { + "raw": "{{baseUrl}}/transferrecipient", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transferrecipient" + ] + } + }, + "status": "Created", + "code": 201, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "responseTime": null, + "body": "{\n \"status\": false,\n \"message\": \"anim nostrud in consequat\",\n \"data\": {}\n}" + }, + { + "id": "9dcc57cd-de18-44d5-bc3c-6870a99cb299", + "name": "Unauthorized operation", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "urlencoded", + "urlencoded": [ + { + "description": "(Required) Recipient Type (Only nuban at this time)", + "key": "type", + "value": "consectetur ipsum exercitation" + }, + { + "description": "(Required) Recipient's name", + "key": "name", + "value": "aliqua sit" + }, + { + "description": "(Required) Recipient's bank account number", + "key": "account_number", + "value": "incididunt aute veniam" + }, + { + "description": "(Required) Recipient's bank code. You can get the list of Bank Codes by calling the List Banks endpoint", + "key": "bank_code", + "value": "elit consequat" + }, + { + "description": "A description for this recipient", + "key": "description", + "value": "in" + }, + { + "description": "Currency for the account receiving the transfer", + "key": "currency", + "value": "proident" + }, + { + "description": "An authorization code from a previous transaction", + "key": "authorization_code", + "value": "exercitation aliqua sint occaecat sed" + }, + { + "description": "Stringified JSON object of custom data", + "key": "metadata", + "value": "consequat Ut laborum" + } + ] + }, + "url": { + "raw": "{{baseUrl}}/transferrecipient", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transferrecipient" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "responseTime": null, + "body": "{\n \"status\": false,\n \"message\": \"magna ut Excepteur nisi sed\"\n}" + }, + { + "id": "4bc90582-c2c3-4643-8aa8-e9ebc4f0566e", + "name": "Server error", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "urlencoded", + "urlencoded": [ + { + "description": "(Required) Recipient Type (Only nuban at this time)", + "key": "type", + "value": "consectetur ipsum exercitation" + }, + { + "description": "(Required) Recipient's name", + "key": "name", + "value": "aliqua sit" + }, + { + "description": "(Required) Recipient's bank account number", + "key": "account_number", + "value": "incididunt aute veniam" + }, + { + "description": "(Required) Recipient's bank code. You can get the list of Bank Codes by calling the List Banks endpoint", + "key": "bank_code", + "value": "elit consequat" + }, + { + "description": "A description for this recipient", + "key": "description", + "value": "in" + }, + { + "description": "Currency for the account receiving the transfer", + "key": "currency", + "value": "proident" + }, + { + "description": "An authorization code from a previous transaction", + "key": "authorization_code", + "value": "exercitation aliqua sint occaecat sed" + }, + { + "description": "Stringified JSON object of custom data", + "key": "metadata", + "value": "consequat Ut laborum" + } + ] + }, + "url": { + "raw": "{{baseUrl}}/transferrecipient", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transferrecipient" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "responseTime": null, + "body": "" + } + ] + }, + { + "name": "Initiate Bulk Transfer", + "id": "2ae98279-f8e9-4147-8d2a-4daaf7e6453c", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/x-www-form-urlencoded" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "urlencoded", + "urlencoded": [ + { + "key": "source", + "value": "Lorem amet reprehenderit in exercit", + "description": "Where should we transfer from? Only balance is allowed for now" + }, + { + "key": "transfers", + "value": "{\"source\":\"deserunt in\",\"amount\":\"pariat\",\"recipient\":\"enim ut ullamco in\",\"reason\":\"cupidatat et consectetur ad\",\"currency\":\"culpa Duis in\",\"reference\":\"t\"}", + "description": "A list of transfer object. Each object should contain amount, recipient, and reference" + }, + { + "key": "transfers", + "value": "{\"source\":\"sed\",\"amount\":\"magna irure\",\"recipient\":\"eu ut fugiat\",\"reason\":\"ullamco laborum reprehenderit aliquip ipsum\",\"currency\":\"eu est minim\",\"reference\":\"eiusmod officia\"}", + "description": "A list of transfer object. Each object should contain amount, recipient, and reference" + } + ] + }, + "url": { + "raw": "{{baseUrl}}/transfer/bulk", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transfer", + "bulk" + ] + } + }, + "response": [ + { + "id": "10b5d1ef-d3b9-439b-b481-f564a764593a", + "name": "Request successful", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "urlencoded", + "urlencoded": [ + { + "description": "Where should we transfer from? Only balance is allowed for now", + "key": "source", + "value": "amet fugiat" + }, + { + "description": "A list of transfer object. Each object should contain amount, recipient, and reference", + "key": "transfers", + "value": "{\"source\":\"Excepteur amet nulla\",\"amount\":\"Exce\",\"recipient\":\"ea consequat\",\"reason\":\"officia est null\",\"currency\":\"labore commodo\",\"reference\":\"aute sint\"}" + }, + { + "description": "A list of transfer object. Each object should contain amount, recipient, and reference", + "key": "transfers", + "value": "{\"source\":\"anim labore culpa\",\"amount\":\"culpa minim eiusmod\",\"recipient\":\"eu dolor pariatur enim\",\"reason\":\"velit\",\"currency\":\"nostrud\",\"reference\":\"ullamco\"}" + } + ] + }, + "url": { + "raw": "{{baseUrl}}/transfer/bulk", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transfer", + "bulk" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "responseTime": null, + "body": "{\n \"status\": false,\n \"message\": \"anim nostrud in consequat\",\n \"data\": {}\n}" + }, + { + "id": "a0a51bee-5884-4fa6-8962-dcdd4cce7f4f", + "name": "Unauthorized operation", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "urlencoded", + "urlencoded": [ + { + "description": "Where should we transfer from? Only balance is allowed for now", + "key": "source", + "value": "amet fugiat" + }, + { + "description": "A list of transfer object. Each object should contain amount, recipient, and reference", + "key": "transfers", + "value": "{\"source\":\"Excepteur amet nulla\",\"amount\":\"Exce\",\"recipient\":\"ea consequat\",\"reason\":\"officia est null\",\"currency\":\"labore commodo\",\"reference\":\"aute sint\"}" + }, + { + "description": "A list of transfer object. Each object should contain amount, recipient, and reference", + "key": "transfers", + "value": "{\"source\":\"anim labore culpa\",\"amount\":\"culpa minim eiusmod\",\"recipient\":\"eu dolor pariatur enim\",\"reason\":\"velit\",\"currency\":\"nostrud\",\"reference\":\"ullamco\"}" + } + ] + }, + "url": { + "raw": "{{baseUrl}}/transfer/bulk", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transfer", + "bulk" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "responseTime": null, + "body": "{\n \"status\": false,\n \"message\": \"magna ut Excepteur nisi sed\"\n}" + }, + { + "id": "5520636b-656b-48d8-9f15-b242da1dc0ea", + "name": "Server error", + "originalRequest": { + "method": "POST", + "header": [ + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "urlencoded", + "urlencoded": [ + { + "description": "Where should we transfer from? Only balance is allowed for now", + "key": "source", + "value": "amet fugiat" + }, + { + "description": "A list of transfer object. Each object should contain amount, recipient, and reference", + "key": "transfers", + "value": "{\"source\":\"Excepteur amet nulla\",\"amount\":\"Exce\",\"recipient\":\"ea consequat\",\"reason\":\"officia est null\",\"currency\":\"labore commodo\",\"reference\":\"aute sint\"}" + }, + { + "description": "A list of transfer object. Each object should contain amount, recipient, and reference", + "key": "transfers", + "value": "{\"source\":\"anim labore culpa\",\"amount\":\"culpa minim eiusmod\",\"recipient\":\"eu dolor pariatur enim\",\"reason\":\"velit\",\"currency\":\"nostrud\",\"reference\":\"ullamco\"}" + } + ] + }, + "url": { + "raw": "{{baseUrl}}/transfer/bulk", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transfer", + "bulk" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "text", + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "cookie": [], + "responseTime": null, + "body": "" + } + ] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "", + "type": "string" + } + ] + }, + "variable": [ + { + "id": "dc21207d-8afb-4828-98b9-09ed30984840", + "key": "baseUrl", + "value": "https://api.paystack.co", + "type": "string" + } + ] +} \ No newline at end of file From e3bfb68b491f43204049791a40deb2ac8bcc5bb9 Mon Sep 17 00:00:00 2001 From: Damilola Odujoko <60398567+damilola-paystack@users.noreply.github.com> Date: Thu, 28 Jul 2022 16:05:06 +0100 Subject: [PATCH 8/8] Update betting_copy.yaml Update from GH --- use_cases/betting_copy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/use_cases/betting_copy.yaml b/use_cases/betting_copy.yaml index cbd47ef..eaffe7b 100644 --- a/use_cases/betting_copy.yaml +++ b/use_cases/betting_copy.yaml @@ -1,6 +1,6 @@ openapi: 3.0.1 info: - title: Test - Create a betting integration + title: Test - Create a betting integration (update from GH) description: The OpenAPI specification for creating a betting platform using the Paystack API version: 1.0.0 servers: