curl --location --request POST 'https://api.xente.co/api/transactions/payouts/utilities' \--header 'Content-Type: application/json' \--header 'Authorization: Token <token>' \--data-raw '{ "requestId": "92399933543589", //Id from your system to uniquely identify the transaction "batchId": "batch5678", //Identifier og the batch from your system. "amount": 1000, "type": "DEBIT", "message": "Your custom message", "metadata": "InvoicePayment", "product": { "id": "NWSCWATERUG", "productItemId": "NWSCWATERUG_NWSCWATERUG" }, "beneficiary": { "name": "John Doe", "emailAddress": "johndoe@example.com", "phoneNumber": "+1234567890", "data": { "customerReference": "4637738888" //Your Electricity/National Water Account Number, "area": "Kampala" //Area is required for National water bill payments but optional for Electricity } }}'
{ "message": "Transaction Has Been Successfully Received. Notification Will Be Sent Shortly", "data": { "requestId": "e482caf1-18c4-4312-a708-8032969541d4", "batchId": "123123123123", "transactionId": "0f9182ad-bf5e-4854-799e-08dc2bc9741e", "status": "PROCESSING", "message": "Processing Debit Transaction. Instant Payment Notification will be sent shortly", "createdOn": "2/12/2024 12:52:21 PM" }, "code": 0, "status": "success"}
Bills
Post bill pay
This endpoint posts a new bill pay transaction
POST
/
api
/
transactions
/
payouts
/
utilities
curl --location --request POST 'https://api.xente.co/api/transactions/payouts/utilities' \--header 'Content-Type: application/json' \--header 'Authorization: Token <token>' \--data-raw '{ "requestId": "92399933543589", //Id from your system to uniquely identify the transaction "batchId": "batch5678", //Identifier og the batch from your system. "amount": 1000, "type": "DEBIT", "message": "Your custom message", "metadata": "InvoicePayment", "product": { "id": "NWSCWATERUG", "productItemId": "NWSCWATERUG_NWSCWATERUG" }, "beneficiary": { "name": "John Doe", "emailAddress": "johndoe@example.com", "phoneNumber": "+1234567890", "data": { "customerReference": "4637738888" //Your Electricity/National Water Account Number, "area": "Kampala" //Area is required for National water bill payments but optional for Electricity } }}'
{ "message": "Transaction Has Been Successfully Received. Notification Will Be Sent Shortly", "data": { "requestId": "e482caf1-18c4-4312-a708-8032969541d4", "batchId": "123123123123", "transactionId": "0f9182ad-bf5e-4854-799e-08dc2bc9741e", "status": "PROCESSING", "message": "Processing Debit Transaction. Instant Payment Notification will be sent shortly", "createdOn": "2/12/2024 12:52:21 PM" }, "code": 0, "status": "success"}
Timestamp indicating when the transaction was created.
curl --location --request POST 'https://api.xente.co/api/transactions/payouts/utilities' \--header 'Content-Type: application/json' \--header 'Authorization: Token <token>' \--data-raw '{ "requestId": "92399933543589", //Id from your system to uniquely identify the transaction "batchId": "batch5678", //Identifier og the batch from your system. "amount": 1000, "type": "DEBIT", "message": "Your custom message", "metadata": "InvoicePayment", "product": { "id": "NWSCWATERUG", "productItemId": "NWSCWATERUG_NWSCWATERUG" }, "beneficiary": { "name": "John Doe", "emailAddress": "johndoe@example.com", "phoneNumber": "+1234567890", "data": { "customerReference": "4637738888" //Your Electricity/National Water Account Number, "area": "Kampala" //Area is required for National water bill payments but optional for Electricity } }}'
{ "message": "Transaction Has Been Successfully Received. Notification Will Be Sent Shortly", "data": { "requestId": "e482caf1-18c4-4312-a708-8032969541d4", "batchId": "123123123123", "transactionId": "0f9182ad-bf5e-4854-799e-08dc2bc9741e", "status": "PROCESSING", "message": "Processing Debit Transaction. Instant Payment Notification will be sent shortly", "createdOn": "2/12/2024 12:52:21 PM" }, "code": 0, "status": "success"}
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Developer Documentation","colors":{"primary":"#F79524","light":"#81D7F7","dark":"#004E7A"},"favicon":"/favicon.png","logo":{"light":"https://mintcdn.com/xente/C455qYZ8c8ptwNnK/logo/logo-light.svg?fit=max\u0026auto=format\u0026n=C455qYZ8c8ptwNnK\u0026q=85\u0026s=0dc05bce01125b76313935463004af4c","dark":"https://mintcdn.com/xente/C455qYZ8c8ptwNnK/logo/logo-dark.svg?fit=max\u0026auto=format\u0026n=C455qYZ8c8ptwNnK\u0026q=85\u0026s=a12dcd11a9fcfefaae1d179c2785902b"},"api":{"mdx":{"server":"https://api.xente.co/api","auth":{"method":"bearer","name":null}}},"appearance":{"default":"light","strict":false},"background":{"image":"https://mintlify.s3.us-west-1.amazonaws.com/xente/images/background.png","decoration":null},"navbar":{"links":[{"label":"Pricing","href":"https://www.xente.co/price"}],"primary":{"type":"button","label":"Portal","href":"https://app.xente.co/"}},"search":{"prompt":"Search ...."},"footer":{"socials":{"twitter":"https://twitter.com/xentetech","youtube":"https://www.youtube.com/channel/UC8D2ZF66b5nCxbvqdZ5Loxg/","linkedin":"https://www.linkedin.com/company/xente-uganda"}},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"xente","hasAudioNarration":false,"actualSubdomain":"xente","customDomains":["docs.xente.co"],"gitSource":{"type":"github","owner":"rwakata","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a20c38fff8eb428740365f9","collectionId":"4e694fc5-e133-4a10-8e7c-fd3357bae4a1","schemaVersion":"v2"},"entitlements":{},"buildId":"6a20c38fff8eb428740365f9:success","clientVersion":"0.0.3964","searchFilterCounts":[{"language":"default","tag":"Documentation","count":15},{"language":"default","tag":"API Reference","count":13},{"language":"default","tag":"Make Payments","count":6},{"language":"default","tag":"Get Started","count":5},{"language":"default","tag":"Collect Payments","count":4},{"language":"default","tag":"Products","count":3},{"language":"default","tag":"Mobile Money","count":2},{"language":"default","tag":"Transactions","count":2},{"language":"default","tag":"Accounts","count":1},{"language":"default","tag":"Airtime","count":1}]},"assistantConfig":{},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/bills/transactions/create","slug":"/api-reference/bills/transactions/create","pageMetadata":{"title":"Post bill pay","api":"POST https://api.xente.co/api/transactions/payouts/utilities","description":"This endpoint posts a new bill pay transaction","href":"/api-reference/bills/transactions/create"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"This endpoint posts a new bill pay transaction\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={p:`p`,..._provideComponents(),...props.components},{Expandable,Heading,ParamField,ResponseField}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`3`,id:`body`,children:`Body`}),`\n`,_jsx(ParamField,{body:`requestId`,type:`string`,id:`param-request-id`,children:_jsx(_components.p,{children:`A unique identifier for the request.`})}),`\n`,_jsx(ParamField,{body:`batchId`,type:`string`,id:`param-batch-id`,children:_jsx(_components.p,{children:`A unique identifier for the batch.`})}),`\n`,_jsx(ParamField,{body:`accountNumber`,type:`string`,id:`param-account-number`,children:_jsx(_components.p,{children:`The account number associated with the request.`})}),`\n`,_jsx(ParamField,{body:`amount`,type:`number`,id:`param-amount`,children:_jsx(_components.p,{children:`The monetary amount involved in the request.`})}),`\n`,_jsx(ParamField,{body:`type`,type:`string`,id:`param-type`,children:_jsx(_components.p,{children:`The type of request, initially not set.`})}),`\n`,_jsx(ParamField,{body:`message`,type:`string`,id:`param-message`,children:_jsx(_components.p,{children:`An optional message associated with the request.`})}),`\n`,_jsx(ParamField,{body:`metadata`,type:`string`,id:`param-metadata`,children:_jsx(_components.p,{children:`Additional metadata as a string.`})}),`\n`,_jsx(ParamField,{body:`product.id`,type:`string`,id:`param-product-id`,children:_jsx(_components.p,{children:`The product’s unique identifier.`})}),`\n`,_jsx(ParamField,{body:`product.productItemId`,type:`string`,id:`param-product-product-item-id`,children:_jsx(_components.p,{children:`A specific item identifier within the product.`})}),`\n`,_jsx(ParamField,{body:`beneficiary.id`,type:`string`,id:`param-beneficiary-id`,children:_jsx(_components.p,{children:`The beneficiary’s unique identifier.`})}),`\n`,_jsx(ParamField,{body:`beneficiary.name`,type:`string`,id:`param-beneficiary-name`,children:_jsx(_components.p,{children:`The beneficiary’s name.`})}),`\n`,_jsx(ParamField,{body:`beneficiary.emailAddress`,type:`string`,id:`param-beneficiary-email-address`,children:_jsx(_components.p,{children:`The beneficiary’s email address.`})}),`\n`,_jsx(ParamField,{body:`beneficiary.phoneNumber`,type:`string`,id:`param-beneficiary-phone-number`,children:_jsx(_components.p,{children:`The beneficiary’s phone number.`})}),`\n`,_jsx(ParamField,{body:`beneficiary.data.customerReference`,type:`string`,id:`param-beneficiary-data-customer-reference`,children:_jsx(_components.p,{children:`Your Electricity/National Water Account Number.`})}),`\n`,_jsx(ParamField,{body:`beneficiary.data.area`,type:`string`,id:`param-beneficiary-data-area`,children:_jsx(_components.p,{children:`Area is required for National water bill payments but optional for Electricity`})}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`code`,type:`number`,id:`param-code`,children:_jsx(_components.p,{children:`Indicates whether the call was successful. 0 if successful, error code if not.`})}),`\n`,_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:_jsx(_components.p,{children:`Status message on outcome of the API call.`})}),`\n`,_jsx(ResponseField,{name:`message`,type:`string`,id:`param-message-1`,children:_jsx(_components.p,{children:`General message about the transaction status.`})}),`\n`,_jsxs(ResponseField,{name:`data`,type:`object`,id:`param-data`,children:[_jsx(_components.p,{children:`The contents of the transaction data.`}),_jsxs(Expandable,{title:`Toggle object`,children:[_jsx(ResponseField,{name:`requestId`,type:`string`,id:`param-request-id-1`,children:_jsx(_components.p,{children:`Unique identifier for the request.`})}),_jsx(ResponseField,{name:`batchId`,type:`string`,id:`param-batch-id-1`,children:_jsx(_components.p,{children:`Batch ID associated with the request.`})}),_jsx(ResponseField,{name:`transactionId`,type:`string`,id:`param-transaction-id`,children:_jsx(_components.p,{children:`Unique identifier of the transaction.`})}),_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status-1`,children:_jsx(_components.p,{children:`Current status of the transaction.`})}),_jsx(ResponseField,{name:`message`,type:`string`,id:`param-message-2`,children:_jsx(_components.p,{children:`Detailed message regarding the transaction’s current status.`})}),_jsx(ResponseField,{name:`createdOn`,type:`string`,id:`param-created-on`,children:_jsx(_components.p,{children:`Timestamp indicating when the transaction was created.`})})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Post bill pay","api":"POST https://api.xente.co/api/transactions/payouts/utilities","description":"This endpoint posts a new bill pay transaction","href":"/api-reference/bills/transactions/create"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField,RequestExample,ResponseExample,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`3`,id:`body`,children:`Body`}),`\n`,_jsx(ParamField,{body:`requestId`,type:`string`,id:`param-request-id`,children:_jsx(_components.p,{children:`A unique identifier for the request.`})}),`\n`,_jsx(ParamField,{body:`batchId`,type:`string`,id:`param-batch-id`,children:_jsx(_components.p,{children:`A unique identifier for the batch.`})}),`\n`,_jsx(ParamField,{body:`accountNumber`,type:`string`,id:`param-account-number`,children:_jsx(_components.p,{children:`The account number associated with the request.`})}),`\n`,_jsx(ParamField,{body:`amount`,type:`number`,id:`param-amount`,children:_jsx(_components.p,{children:`The monetary amount involved in the request.`})}),`\n`,_jsx(ParamField,{body:`type`,type:`string`,id:`param-type`,children:_jsx(_components.p,{children:`The type of request, initially not set.`})}),`\n`,_jsx(ParamField,{body:`message`,type:`string`,id:`param-message`,children:_jsx(_components.p,{children:`An optional message associated with the request.`})}),`\n`,_jsx(ParamField,{body:`metadata`,type:`string`,id:`param-metadata`,children:_jsx(_components.p,{children:`Additional metadata as a string.`})}),`\n`,_jsx(ParamField,{body:`product.id`,type:`string`,id:`param-product-id`,children:_jsx(_components.p,{children:`The product’s unique identifier.`})}),`\n`,_jsx(ParamField,{body:`product.productItemId`,type:`string`,id:`param-product-product-item-id`,children:_jsx(_components.p,{children:`A specific item identifier within the product.`})}),`\n`,_jsx(ParamField,{body:`beneficiary.id`,type:`string`,id:`param-beneficiary-id`,children:_jsx(_components.p,{children:`The beneficiary’s unique identifier.`})}),`\n`,_jsx(ParamField,{body:`beneficiary.name`,type:`string`,id:`param-beneficiary-name`,children:_jsx(_components.p,{children:`The beneficiary’s name.`})}),`\n`,_jsx(ParamField,{body:`beneficiary.emailAddress`,type:`string`,id:`param-beneficiary-email-address`,children:_jsx(_components.p,{children:`The beneficiary’s email address.`})}),`\n`,_jsx(ParamField,{body:`beneficiary.phoneNumber`,type:`string`,id:`param-beneficiary-phone-number`,children:_jsx(_components.p,{children:`The beneficiary’s phone number.`})}),`\n`,_jsx(ParamField,{body:`beneficiary.data.customerReference`,type:`string`,id:`param-beneficiary-data-customer-reference`,children:_jsx(_components.p,{children:`Your Electricity/National Water Account Number.`})}),`\n`,_jsx(ParamField,{body:`beneficiary.data.area`,type:`string`,id:`param-beneficiary-data-area`,children:_jsx(_components.p,{children:`Area is required for National water bill payments but optional for Electricity`})}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`code`,type:`number`,id:`param-code`,children:_jsx(_components.p,{children:`Indicates whether the call was successful. 0 if successful, error code if not.`})}),`\n`,_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:_jsx(_components.p,{children:`Status message on outcome of the API call.`})}),`\n`,_jsx(ResponseField,{name:`message`,type:`string`,id:`param-message-1`,children:_jsx(_components.p,{children:`General message about the transaction status.`})}),`\n`,_jsxs(ResponseField,{name:`data`,type:`object`,id:`param-data`,children:[_jsx(_components.p,{children:`The contents of the transaction data.`}),_jsxs(Expandable,{title:`Toggle object`,children:[_jsx(ResponseField,{name:`requestId`,type:`string`,id:`param-request-id-1`,children:_jsx(_components.p,{children:`Unique identifier for the request.`})}),_jsx(ResponseField,{name:`batchId`,type:`string`,id:`param-batch-id-1`,children:_jsx(_components.p,{children:`Batch ID associated with the request.`})}),_jsx(ResponseField,{name:`transactionId`,type:`string`,id:`param-transaction-id`,children:_jsx(_components.p,{children:`Unique identifier of the transaction.`})}),_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status-1`,children:_jsx(_components.p,{children:`Current status of the transaction.`})}),_jsx(ResponseField,{name:`message`,type:`string`,id:`param-message-2`,children:_jsx(_components.p,{children:`Detailed message regarding the transaction’s current status.`})}),_jsx(ResponseField,{name:`createdOn`,type:`string`,id:`param-created-on`,children:_jsx(_components.p,{children:`Timestamp indicating when the transaction was created.`})})]})]}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`Example Request`,numberOfLines:`26`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`26`,children:[_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --location`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.xente.co/api/transactions/payouts/utilities'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`--header `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`--header `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Authorization: Token \u003ctoken>'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`--data-raw `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"requestId\": \"92399933543589\",`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` //Id from your system to uniquely identify the transaction`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"batchId\": \"batch5678\",`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` //Identifier og the batch from your system.`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"amount\": 1000,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\": \"DEBIT\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"message\": \"Your custom message\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"metadata\": \"InvoicePayment\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"product\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"id\": \"NWSCWATERUG\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"productItemId\": \"NWSCWATERUG_NWSCWATERUG\" `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"beneficiary\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\": \"John Doe\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"emailAddress\": \"johndoe@example.com\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"phoneNumber\": \"+1234567890\", `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"data\": {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"customerReference\": \"4637738888\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` //Your Electricity/National Water Account Number,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"area\": \"Kampala\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` //Area is required for National water bill payments but optional for Electricity`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}'`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`]})})})}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`Response`,numberOfLines:`13`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`13`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Transaction Has Been Successfully Received. Notification Will Be Sent Shortly\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"requestId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"e482caf1-18c4-4312-a708-8032969541d4\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"batchId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"123123123123\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"transactionId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0f9182ad-bf5e-4854-799e-08dc2bc9741e\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"PROCESSING\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Processing Debit Transaction. Instant Payment Notification will be sent shortly\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"createdOn\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2/12/2024 12:52:21 PM\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"success\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Post bill pay","api":"POST https://api.xente.co/api/transactions/payouts/utilities","description":"This endpoint posts a new bill pay transaction","href":"/api-reference/bills/transactions/create"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Body","slug":"body","depth":3,"children":[]},{"title":"Response","slug":"response","depth":3,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"Example Request","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"26\">\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --location\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --request\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> POST\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'https://api.xente.co/api/transactions/payouts/utilities'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">--header \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'Content-Type: application/json'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">--header \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'Authorization: Token \u0026#x3C;token>'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">--data-raw \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"requestId\": \"92399933543589\",\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> //Id from your system to uniquely identify the transaction\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"batchId\": \"batch5678\",\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> //Identifier og the batch from your system.\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"amount\": 1000,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"type\": \"DEBIT\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"message\": \"Your custom message\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"metadata\": \"InvoicePayment\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"product\": {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"id\": \"NWSCWATERUG\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"productItemId\": \"NWSCWATERUG_NWSCWATERUG\" \u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"beneficiary\": {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"name\": \"John Doe\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"emailAddress\": \"johndoe@example.com\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"phoneNumber\": \"+1234567890\", \u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"data\": {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"customerReference\": \"4637738888\"\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> //Your Electricity/National Water Account Number,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"area\": \"Kampala\"\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> //Area is required for National water bill payments but optional for Electricity\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">}'\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"Response","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"13\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Transaction Has Been Successfully Received. Notification Will Be Sent Shortly\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"requestId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"e482caf1-18c4-4312-a708-8032969541d4\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"batchId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"123123123123\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"transactionId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"0f9182ad-bf5e-4854-799e-08dc2bc9741e\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"PROCESSING\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Processing Debit Transaction. Instant Payment Notification will be sent shortly\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"createdOn\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2/12/2024 12:52:21 PM\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">0\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"success\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Post bill pay","path":"/api/transactions/payouts/utilities","servers":[{"url":"https://api.xente.co"}],"method":"post","request":{"security":[{"title":"Bearer Auth","parameters":{"header":{"Authorization":{"type":"http","scheme":"bearer","description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token."}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"requestId":[{"type":"string","description":"A unique identifier for the request."}],"batchId":[{"type":"string","description":"A unique identifier for the batch."}],"accountNumber":[{"type":"string","description":"The account number associated with the request."}],"amount":[{"type":"number","description":"The monetary amount involved in the request."}],"type":[{"type":"string","description":"The type of request, initially not set."}],"message":[{"type":"string","description":"An optional message associated with the request."}],"metadata":[{"type":"string","description":"Additional metadata as a string."}],"product.id":[{"type":"string","description":"The product’s unique identifier."}],"product.productItemId":[{"type":"string","description":"A specific item identifier within the product."}],"beneficiary.id":[{"type":"string","description":"The beneficiary’s unique identifier."}],"beneficiary.name":[{"type":"string","description":"The beneficiary’s name."}],"beneficiary.emailAddress":[{"type":"string","description":"The beneficiary’s email address."}],"beneficiary.phoneNumber":[{"type":"string","description":"The beneficiary’s phone number."}],"beneficiary.data.customerReference":[{"type":"string","description":"Your Electricity/National Water Account Number."}],"beneficiary.data.area":[{"type":"string","description":"Area is required for National water bill payments but optional for Electricity"}]}}],"examples":{"example":{"value":{"requestId":"\u003cstring>","batchId":"\u003cstring>","accountNumber":"\u003cstring>","amount":123,"type":"\u003cstring>","message":"\u003cstring>","metadata":"\u003cstring>","product.id":"\u003cstring>","product.productItemId":"\u003cstring>","beneficiary.id":"\u003cstring>","beneficiary.name":"\u003cstring>","beneficiary.emailAddress":"\u003cstring>","beneficiary.phoneNumber":"\u003cstring>","beneficiary.data.customerReference":"\u003cstring>","beneficiary.data.area":"\u003cstring>"}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"code":[{"type":"number","description":"Indicates whether the call was successful. 0 if successful, error code if not."}],"status":[{"type":"string","description":"Status message on outcome of the API call."}],"message":[{"type":"string","description":"General message about the transaction status."}],"data":[{"type":"object","properties":{"requestId":[{"type":"string","description":"Unique identifier for the request."}],"batchId":[{"type":"string","description":"Batch ID associated with the request."}],"transactionId":[{"type":"string","description":"Unique identifier of the transaction."}],"status":[{"type":"string","description":"Current status of the transaction."}],"message":[{"type":"string","description":"Detailed message regarding the transaction’s current status."}],"createdOn":[{"type":"string","description":"Timestamp indicating when the transaction was created."}]},"description":"The contents of the transaction data."}]}}],"examples":{"example":{"value":{"code":123,"status":"\u003cstring>","message":"\u003cstring>","data":{"requestId":"\u003cstring>","batchId":"\u003cstring>","transactionId":"\u003cstring>","status":"\u003cstring>","message":"\u003cstring>","createdOn":"\u003cstring>"}}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"xente","siteName":"Developer Documentation","title":"Post bill pay - Developer Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-06T22:56:01.458Z","originalFileLocation":"api-reference/bills/transactions/create.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"This endpoint posts a new bill pay transaction\">\u003cmeta data-mint-head name=\"application-name\" content=\"Developer Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/xente/0Y40S2JFBSF2KnFk/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/xente/0Y40S2JFBSF2KnFk/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/xente/0Y40S2JFBSF2KnFk/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/xente/0Y40S2JFBSF2KnFk/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/xente/0Y40S2JFBSF2KnFk/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/xente/0Y40S2JFBSF2KnFk/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/xente/0Y40S2JFBSF2KnFk/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/xente/0Y40S2JFBSF2KnFk/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/xente/0Y40S2JFBSF2KnFk/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Post bill pay - Developer Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"This endpoint posts a new bill pay transaction\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Developer Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.xente.co/api-reference/bills/transactions/create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://xente.mintlify.app/_mintlify/api/og/v2?division=Bills\u0026amp;title=Post+bill+pay\u0026amp;description=This+endpoint+posts+a+new+bill+pay+transaction\u0026amp;theme=cb52bfadc3ea83b0d043c3e8\u0026amp;signature=99667f1be8ddfe4f014f1cbbb61fa24f9d4fa62727e8c12be92bff035aa72150\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Post bill pay - Developer Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"This endpoint posts a new bill pay transaction\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://xente.mintlify.app/_mintlify/api/og/v2?division=Bills\u0026amp;title=Post+bill+pay\u0026amp;description=This+endpoint+posts+a+new+bill+pay+transaction\u0026amp;theme=cb52bfadc3ea83b0d043c3e8\u0026amp;signature=99667f1be8ddfe4f014f1cbbb61fa24f9d4fa62727e8c12be92bff035aa72150\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/xente/0Y40S2JFBSF2KnFk/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Developer Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#F79524\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.xente.co/api-reference/bills/transactions/create\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/bills/transactions/create.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.xente.co/#organization\",\"name\":\"Developer Documentation\",\"url\":\"https://docs.xente.co\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/xente/C455qYZ8c8ptwNnK/logo/logo-light.svg?fit=max\u0026auto=format\u0026n=C455qYZ8c8ptwNnK\u0026q=85\u0026s=0dc05bce01125b76313935463004af4c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.xente.co#website\",\"name\":\"Developer Documentation\",\"url\":\"https://docs.xente.co\",\"publisher\":{\"@id\":\"https://docs.xente.co/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.xente.co/api-reference/bills/transactions/create#webpage\",\"url\":\"https://docs.xente.co/api-reference/bills/transactions/create\",\"name\":\"Post bill pay\",\"description\":\"This endpoint posts a new bill pay transaction\",\"dateModified\":\"2026-01-06T22:56:01.458Z\",\"isPartOf\":{\"@id\":\"https://docs.xente.co#website\"},\"breadcrumb\":{\"@id\":\"https://docs.xente.co/api-reference/bills/transactions/create#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.xente.co/api-reference/bills/transactions/create#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Developer Documentation\",\"item\":\"https://docs.xente.co\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Post bill pay\",\"item\":\"https://docs.xente.co/api-reference/bills/transactions/create\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.xente.co/api-reference/bills/transactions/create#apireference\",\"headline\":\"Post bill pay\",\"name\":\"Post bill pay\",\"description\":\"This endpoint posts a new bill pay transaction\",\"url\":\"https://docs.xente.co/api-reference/bills/transactions/create\",\"mainEntityOfPage\":{\"@id\":\"https://docs.xente.co/api-reference/bills/transactions/create#webpage\"},\"dateModified\":\"2026-01-06T22:56:01.458Z\",\"publisher\":{\"@id\":\"https://docs.xente.co/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.xente.co#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Developer Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Developer Documentation","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"Accounts","pages":[{"title":"Get Account","api":"GET https://api.xente.co/api/accounts","href":"/api-reference/accounts/get"}]},{"group":"Transactions","pages":[{"title":"Get transaction","api":"GET https://api.xente.co/api/transactions/{transactionId}","href":"/api-reference/transactions/get"},{"title":"Get transactions","api":"GET https://api.xente.co/api/transactions/","href":"/api-reference/transactions/get-list"}]},{"group":"Mobile Money","pages":[{"title":"Post mobile money","api":"POST https://api.xente.co/api/transactions/payouts/mobilemoney","href":"/api-reference/mobilemoney/transactions/create"}]},{"group":"Bank Transfers","pages":[{"title":"Post bank transfer","api":"POST https://api.xente.co/api/transactions/payouts/banktransfers","href":"/api-reference/banktransfers/transactions/create"}]},{"group":"Airtime","pages":[{"title":"Post airtime","api":"POST https://api.xente.co/api/transactions/payouts/airtime","href":"/api-reference/airtime/transactions/create"}]},{"group":"Internet","pages":[{"title":"Post mobile internet","api":"POST https://api.xente.co/api/transactions/payouts/mobilemoney","description":"This endpoint posts a new mobile internet transaction","href":"/api-reference/internet/transactions/create"}]},{"group":"Bills","pages":[{"title":"Post bill pay","api":"POST https://api.xente.co/api/transactions/payouts/utilities","href":"/api-reference/bills/transactions/create"}]},{"group":"Collections","pages":[{"group":"Mobile Money","pages":[{"title":"Post mobile money collection","api":"POST https://api.xente.co/api/transactions/collections/mobilemoney","description":"This endpoint posts a new mobile money collection transaction","href":"/api-reference/colletions/mobilemoney/transactions/create"}]}]},{"group":"Products","pages":[{"title":"Get a list of products","api":"GET https://api.xente.co/api/products","href":"/api-reference/products/get-list"},{"title":"Get a product","api":"GET https://api.xente.co/api/products","href":"/api-reference/products/get"},{"title":"Get a list of products items","api":"GET https://api.xente.co/api/products","href":"/api-reference/products/get-items"}]},{"group":"Beneficiary \u0026 Product Validation","pages":[{"title":"Validate product and beneficiary","api":"POST https://api.xente.co/api/products/validation","href":"/api-reference/people/get"}]}]}]},"title":"Post bill pay - Developer Documentation","buildId":"dpl_HcHmUS6i3UwswnTHJUEdcTtwfdTQ","deploymentId":"dpl_HcHmUS6i3UwswnTHJUEdcTtwfdTQ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-BRm_l__d.js","utils-f1l1Oc-G.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BlhqDhJO.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DHCB7rsC.js","snippetPresets-CYXLx6Hv.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-B78P2dEq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C4YLPVAh.js","shallow-vlLnTDkQ.js","getApiPlaygroundDisplay-D_98hhvf.js","CodeSnippet-DtnZHGqq.js","CodeSnippets-CLFb8KJt.js","Page-kQh739Uz.js","getPastedJson-Cq-zlbnU.js","icon-sN3t983t.js","MethodPill-P_YQ2s09.js","DuplicateIcon-BVzyNsGJ.js","createIcon-B3jqgqC6.js","DynamicMarkdown-Crwq6WG_.js","SectionHeading-C7pGS2Bb.js","axios-vUo_bRtp.js"]}