curl --location --request POST 'https://api.xente.co/api/transactions/payouts/airtime' \--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": "Send airtime facilitation", "metadata": "Expense code 1000023", "product": { "id": "MTNAIRTIMEUG", "productItemId": "MTNAIRTIMEUG_MTNAIRTIMEUG" }, "beneficiary": { "name": "John Doe", "emailAddress": "johndoe@example.com", "phoneNumber": "+1234567890", "data": { "phoneNumber": "+1234567890" //The phone number to be topped up } }}'
{ "code": 0, "message": "Transaction Has Been Successfully Received. Notification Will Be Sent Shortly", "data": { "requestId": "92399933543589", "batchId": "batch5678", "transactionId": "0f595604-2c80-4d32-d3e4-08dc37af5a91", "status": "PROCESSING", "message": "Processing Debit Transaction. Instant Payment Notification will be sent shortly", "createdOn": "2/27/2024 4:15:45 PM" }}, "code": 0, "status": "success"}
Airtime
Post airtime
This endpoint posts a new airtime transaction
POST
/
api
/
transactions
/
payouts
/
airtime
curl --location --request POST 'https://api.xente.co/api/transactions/payouts/airtime' \--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": "Send airtime facilitation", "metadata": "Expense code 1000023", "product": { "id": "MTNAIRTIMEUG", "productItemId": "MTNAIRTIMEUG_MTNAIRTIMEUG" }, "beneficiary": { "name": "John Doe", "emailAddress": "johndoe@example.com", "phoneNumber": "+1234567890", "data": { "phoneNumber": "+1234567890" //The phone number to be topped up } }}'
{ "code": 0, "message": "Transaction Has Been Successfully Received. Notification Will Be Sent Shortly", "data": { "requestId": "92399933543589", "batchId": "batch5678", "transactionId": "0f595604-2c80-4d32-d3e4-08dc37af5a91", "status": "PROCESSING", "message": "Processing Debit Transaction. Instant Payment Notification will be sent shortly", "createdOn": "2/27/2024 4:15:45 PM" }}, "code": 0, "status": "success"}
Body
string
A unique identifier for the request.
string
A unique identifier for the batch.
string
The account number associated with the request.
number
The monetary amount involved in the request.
string
The type of request, initially not set.
string
An optional message associated with the request.
string
Additional metadata as a string.
string
The product’s unique identifier.
string
A specific item identifier within the product.
string
The beneficiary’s unique identifier.
string
The beneficiary’s name.
string
The beneficiary’s email address.
string
The beneficiary’s phone number.
string
The phone number to be topped up.
Response
number
Indicates whether the call was successful. 0 if successful, error code if not.
string
Status message on outcome of the API call.
string
General message about the transaction status.
object
The contents of the transaction data.
Show Toggle object
string
Unique identifier for the request.
string
Batch ID associated with the request.
string
Unique identifier of the transaction.
string
Current status of the transaction.
string
Detailed message regarding the transaction’s current status.
string
Timestamp indicating when the transaction was created.
curl --location --request POST 'https://api.xente.co/api/transactions/payouts/airtime' \--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": "Send airtime facilitation", "metadata": "Expense code 1000023", "product": { "id": "MTNAIRTIMEUG", "productItemId": "MTNAIRTIMEUG_MTNAIRTIMEUG" }, "beneficiary": { "name": "John Doe", "emailAddress": "johndoe@example.com", "phoneNumber": "+1234567890", "data": { "phoneNumber": "+1234567890" //The phone number to be topped up } }}'
{ "code": 0, "message": "Transaction Has Been Successfully Received. Notification Will Be Sent Shortly", "data": { "requestId": "92399933543589", "batchId": "batch5678", "transactionId": "0f595604-2c80-4d32-d3e4-08dc37af5a91", "status": "PROCESSING", "message": "Processing Debit Transaction. Instant Payment Notification will be sent shortly", "createdOn": "2/27/2024 4:15:45 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":"https://mintcdn.com/xente/C455qYZ8c8ptwNnK/favicon.png?fit=max\u0026auto=format\u0026n=C455qYZ8c8ptwNnK\u0026q=85\u0026s=1477906fc40fc89fd931c41d7c8f929a","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://mintcdn.com/xente/C455qYZ8c8ptwNnK/images/background.png?fit=max\u0026auto=format\u0026n=C455qYZ8c8ptwNnK\u0026q=85\u0026s=a1837602925d4ed2bec584d92c69fb4d","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":""},"entitlements":{},"buildId":"6ae877feed2f58cb10ee269b","clientVersion":"0.0.4344","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":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","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":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","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":"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":"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":"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":"site-roles","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":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","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":"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":"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},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/airtime/transactions/create","slug":"/api-reference/airtime/transactions/create","pageMetadata":{"title":"Post airtime","api":"POST https://api.xente.co/api/transactions/payouts/airtime","description":"This endpoint posts a new airtime transaction","href":"/api-reference/airtime/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 airtime 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.phoneNumber`,type:`string`,id:`param-beneficiary-data-phone-number`,children:_jsx(_components.p,{children:`The phone number to be topped up.`})}),`\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 airtime","api":"POST https://api.xente.co/api/transactions/payouts/airtime","description":"This endpoint posts a new airtime transaction","href":"/api-reference/airtime/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.phoneNumber`,type:`string`,id:`param-beneficiary-data-phone-number`,children:_jsx(_components.p,{children:`The phone number to be topped up.`})}),`\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:`25`,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:`25`,children:[_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/airtime'`}),_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\": \"Send airtime facilitation\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"metadata\": \"Expense code 1000023\",`})}),`\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\": \"MTNAIRTIMEUG\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"productItemId\": \"MTNAIRTIMEUG_MTNAIRTIMEUG\" `})}),`\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:` \"phoneNumber\": \"+1234567890\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` //The phone number to be topped up`})]}),`\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`,_jsx(_components.span,{className:`line`}),`\n`]})})})}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`Response`,numberOfLines:`15`,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:`15`,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:` \"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:` \"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:`\"92399933543589\"`}),_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:`\"batch5678\"`}),_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:`\"0f595604-2c80-4d32-d3e4-08dc37af5a91\"`}),_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/27/2024 4:15:45 PM\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\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:`#0A3069`,\"--shiki-dark\":`#CE9178`},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:`#0A3069`,\"--shiki-dark\":`#CE9178`},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 airtime","api":"POST https://api.xente.co/api/transactions/payouts/airtime","description":"This endpoint posts a new airtime transaction","href":"/api-reference/airtime/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=\"25\">\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/airtime'\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\": \"Send airtime facilitation\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"metadata\": \"Expense code 1000023\",\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\": \"MTNAIRTIMEUG\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"productItemId\": \"MTNAIRTIMEUG_MTNAIRTIMEUG\" \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\"> \"phoneNumber\": \"+1234567890\"\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> //The phone number to be topped up\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\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=\"15\">\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\"> \"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\">\"92399933543589\"\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\">\"batch5678\"\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\">\"0f595604-2c80-4d32-d3e4-08dc37af5a91\"\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/27/2024 4:15:45 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:#1F2328;--shiki-dark:#D4D4D4\">},\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"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:#0A3069;--shiki-dark:#CE9178\"> \"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 airtime","path":"/api/transactions/payouts/airtime","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.phoneNumber":[{"type":"string","description":"The phone number to be topped up."}]}}],"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.phoneNumber":"\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 airtime - Developer Documentation","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-06T22:56:01.460Z","originalFileLocation":"api-reference/airtime/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 airtime 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 airtime - Developer Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"This endpoint posts a new airtime 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/airtime/transactions/create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://xente.mintlify.site/_mintlify/api/og/v2?division=Airtime\u0026amp;title=Post+airtime\u0026amp;description=This+endpoint+posts+a+new+airtime+transaction\u0026amp;theme=8578edbbd878b357390573e2\u0026amp;signature=37c5c5da73049eeeb9ef0c74106d4a785d99b51cd784e14ba910941d88c6f0de\">\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 airtime - Developer Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"This endpoint posts a new airtime transaction\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://xente.mintlify.site/_mintlify/api/og/v2?division=Airtime\u0026amp;title=Post+airtime\u0026amp;description=This+endpoint+posts+a+new+airtime+transaction\u0026amp;theme=8578edbbd878b357390573e2\u0026amp;signature=37c5c5da73049eeeb9ef0c74106d4a785d99b51cd784e14ba910941d88c6f0de\">\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/airtime/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/airtime/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/airtime/transactions/create#webpage\",\"url\":\"https://docs.xente.co/api-reference/airtime/transactions/create\",\"name\":\"Post airtime\",\"description\":\"This endpoint posts a new airtime transaction\",\"dateModified\":\"2026-01-06T22:56:01.460Z\",\"isPartOf\":{\"@id\":\"https://docs.xente.co#website\"},\"breadcrumb\":{\"@id\":\"https://docs.xente.co/api-reference/airtime/transactions/create#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.xente.co/api-reference/airtime/transactions/create#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Developer Documentation\",\"item\":\"https://docs.xente.co\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Post airtime\",\"item\":\"https://docs.xente.co/api-reference/airtime/transactions/create\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.xente.co/api-reference/airtime/transactions/create#apireference\",\"headline\":\"Post airtime\",\"name\":\"Post airtime\",\"description\":\"This endpoint posts a new airtime transaction\",\"url\":\"https://docs.xente.co/api-reference/airtime/transactions/create\",\"mainEntityOfPage\":{\"@id\":\"https://docs.xente.co/api-reference/airtime/transactions/create#webpage\"},\"dateModified\":\"2026-01-06T22:56:01.460Z\",\"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\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Developer Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/airtime/transactions/create.md","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","description":"This endpoint posts a new mobile money transaction","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","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"}]}]}]},"basePath":"","title":"Post airtime - Developer Documentation","deploymentId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","buildId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-B8kPdtB2.js","snippetPresets-C-p1aFQ1.js","utils-B9NnUZSZ.js","style-to-object-BY3JEAdk.js","utils-DFxl7cW2.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-bSr9h7OB.js","conditional-requirements-CFM0id0Q.js","cloneDeep-Bw4Gcy_r.js","_Uint8Array-C68x8Gny.js","isObject-FP1Yky1u.js","ApiExamples-BXsp8PHs.js","usePlaygroundInputsStore-BlAOLmIF.js","shallow-C2F02mqa.js","isEqual-C8iG4q2G.js","CodeSnippets-45lHR04X.js","CodeSnippet-6Cemznl-.js","use-playground-group-access-Cyy8SXp5.js","Page-CeZ_ZB5X.js","api-description-markdown-DiOdv5rp.js","DynamicMarkdown-B_9ywLDq.js","SectionHeading-Cc2r-uqU.js","MethodPill-Df3Tcu4c.js","getPastedJson-B3vrV0wE.js","Check2Icon-YQhSFafd.js","axios-CsQoIw0U.js"]}