Use the API key created under your merchant account from the Pesaswap dashboard. API key is used to authenticate API requests from your merchant server only. Don't expose this key on a website or embed it in a mobile application.
Path Parameters
mandate_id
string
required
The identifier for mandate
Response
The mandate was retrieved successfully
mandate_id
string
required
The identifier for mandate
status
enum<string>
required
The status of the mandate, which indicates whether it can be used to initiate a payment.
Available options:
active,
inactive,
pending,
revoked
payment_method_id
string
required
The identifier for payment method
payment_method
string
required
The payment method
payment_method_type
string | null
The payment method type
card
object | null
Show child attributes
customer_acceptance
object | null
This "CustomerAcceptance" object is passed during Payments-Confirm request, it enlists the type, time, and mode of acceptance properties related to an acceptance done by the customer. The customer_acceptance sub object is usually passed by the SDK or client.
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Pesaswap","description":"The complete digital payments platform for businesses of all sizes. Accept payments, manage transactions, and scale your business with Pesaswap - your best option for handling digital payments seamlessly.","colors":{"primary":"#02555B","light":"#2A7A7F","dark":"#013E42"},"logo":{"light":"https://mintcdn.com/pesaswap/gF_mzxFkI4qLgyPO/logo/light.svg?fit=max\u0026auto=format\u0026n=gF_mzxFkI4qLgyPO\u0026q=85\u0026s=3ab49bf4de03976de57a8f434e021b91","dark":"https://mintcdn.com/pesaswap/gF_mzxFkI4qLgyPO/logo/dark.svg?fit=max\u0026auto=format\u0026n=gF_mzxFkI4qLgyPO\u0026q=85\u0026s=da8704c755b4bdd989f354eafa16683c","href":"https://pesaswap.io"},"favicon":"https://mintcdn.com/pesaswap/9QnEDG_16mHRPjKR/favicon.png?fit=max\u0026auto=format\u0026n=9QnEDG_16mHRPjKR\u0026q=85\u0026s=d0c620d74c2cf12df449218d52c6b24d","api":{"openapi":["openapi_spec.json"],"playground":{"display":"simple"},"examples":{"languages":["curl","javascript","python","php"]},"mdx":{"auth":{"method":"bearer"},"server":"https://api.pesaswap.io"}},"background":{"decoration":"grid","color":{"light":"#F5FFFE","dark":"#1A2E2F"}},"navbar":{"links":[{"href":"mailto:support@pesaswap.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.pesaswap.io"}},"search":{"prompt":"Search Pesaswap documentation..."},"fonts":{"heading":{"family":"Inter","weight":400},"body":{"family":"Inter","weight":400}},"icons":{"library":"lucide"},"styling":{"codeblocks":"system","latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"pesaswap","hasAudioNarration":false,"actualSubdomain":"pesaswap","customDomains":["docs.pesaswap.io"],"gitSource":{"type":"github","owner":"pesaswap","repo":"pesaswap-api","deployBranch":"mpesa","contentDirectory":"api-reference","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6b07e7e615c0c13290f8e044","clientVersion":"0.0.4377","searchFilterCounts":[{"language":"default","tag":"Explore","count":81},{"language":"default","tag":"API Reference","count":57},{"language":"default","tag":"Explore Pesaswap","count":51},{"language":"default","tag":"Operations","count":35},{"language":"default","tag":"Checkout Experience","count":19},{"language":"default","tag":"Payment Orchestration","count":18},{"language":"default","tag":"Customizable and Native Integrations","count":17},{"language":"default","tag":"Admin APIs","count":13},{"language":"default","tag":"Payments","count":11},{"language":"default","tag":"Accept Payments","count":11}]},"assistantConfig":{},"basePath":"","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":"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":"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}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"public/css/custom.css","content":""}]}
{"page":{"pagePath":"api-reference/mandates/mandates--retrieve-mandate","slug":"/api-reference/mandates/mandates--retrieve-mandate","pageMetadata":{"openapi":"openapi_spec get /mandates/{mandate_id}","title":"Mandates - Retrieve Mandate","description":"Retrieves a mandate created using the Payments/Create API","href":"/api-reference/mandates/mandates--retrieve-mandate"},"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: \"Retrieves a mandate created using the Payments/Create API\"\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"codeStyling":"system","config":{},"pageMetadata":{"openapi":"openapi_spec get /mandates/{mandate_id}","title":"Mandates - Retrieve Mandate","description":"Retrieves a mandate created using the Payments/Create API","href":"/api-reference/mandates/mandates--retrieve-mandate"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Mandates"],"summary":"Mandates - Retrieve Mandate","description":"Retrieves a mandate created using the Payments/Create API","operationId":"Retrieve a Mandate","parameters":["3edca045-c9e1-4fcb-9b98-13a0c09404b4"],"responses":{"200":"84801bfd-a664-4584-9e7b-3f971b498cda","404":"349f8e2b-5249-4825-9d03-d32fecb64fbf"},"security":["fda53ae6-168e-45b0-a1dd-bfd27ac55104"],"method":"get","type":"path","servers":["3b085d12-f716-47f9-b74b-91e3b1004770","addf1c48-6e0f-4dd2-8db9-58a4614de060"],"path":"/mandates/{mandate_id}","baseUrlOptions":["https://api.sandbox.pesaswap.io","https://api.pesaswap.io"],"title":"Mandates - Retrieve Mandate","codeSamples":[],"requestExampleLanguages":["bash","javascript","python","php"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"3edca045-c9e1-4fcb-9b98-13a0c09404b4":{"name":"mandate_id","in":"path","description":"The identifier for mandate","required":true,"schema":{"type":"string","isRequired":true,"description":"The identifier for mandate","uniqueKey":"","typeLabel":"string"}}},"responses":{"84801bfd-a664-4584-9e7b-3f971b498cda":{"description":"The mandate was retrieved successfully","content":{"application/json":{"schema":{"type":"object","required":["mandate_id","status","payment_method_id","payment_method"],"properties":{"mandate_id":{"type":"string","description":"The identifier for mandate","isRequired":true,"uniqueKey":"mandate_id","typeLabel":"string"},"status":{"type":"string","description":"The status of the mandate, which indicates whether it can be used to initiate a payment.","enum":["active","inactive","pending","revoked"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"payment_method_id":{"type":"string","description":"The identifier for payment method","isRequired":true,"uniqueKey":"payment_method_id","typeLabel":"string"},"payment_method":{"type":"string","description":"The payment method","isRequired":true,"uniqueKey":"payment_method","typeLabel":"string"},"payment_method_type":{"oneOf":[{"type":"string","description":"The payment method type","uniqueKey":"payment_method_type.oneOf.0","typeLabel":"string"},{"type":"null","description":"The payment method type","uniqueKey":"payment_method_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"payment_method_type","typeLabel":"string | null"},"card":{"oneOf":[{"type":"object","properties":{"last4_digits":{"oneOf":[{"type":"string","description":"The last 4 digits of card","uniqueKey":"card.oneOf.0.last4_digits.oneOf.0","typeLabel":"string"},{"type":"null","description":"The last 4 digits of card","uniqueKey":"card.oneOf.0.last4_digits.oneOf.1","typeLabel":"null"}],"uniqueKey":"card.oneOf.0.last4_digits","typeLabel":"string | null"},"card_exp_month":{"oneOf":[{"type":"string","description":"The expiry month of card","uniqueKey":"card.oneOf.0.card_exp_month.oneOf.0","typeLabel":"string"},{"type":"null","description":"The expiry month of card","uniqueKey":"card.oneOf.0.card_exp_month.oneOf.1","typeLabel":"null"}],"uniqueKey":"card.oneOf.0.card_exp_month","typeLabel":"string | null"},"card_exp_year":{"oneOf":[{"type":"string","description":"The expiry year of card","uniqueKey":"card.oneOf.0.card_exp_year.oneOf.0","typeLabel":"string"},{"type":"null","description":"The expiry year of card","uniqueKey":"card.oneOf.0.card_exp_year.oneOf.1","typeLabel":"null"}],"uniqueKey":"card.oneOf.0.card_exp_year","typeLabel":"string | null"},"card_holder_name":{"oneOf":[{"type":"string","description":"The card holder name","uniqueKey":"card.oneOf.0.card_holder_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The card holder name","uniqueKey":"card.oneOf.0.card_holder_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"card.oneOf.0.card_holder_name","typeLabel":"string | null"},"card_token":{"oneOf":[{"type":"string","description":"The token from card locker","uniqueKey":"card.oneOf.0.card_token.oneOf.0","typeLabel":"string"},{"type":"null","description":"The token from card locker","uniqueKey":"card.oneOf.0.card_token.oneOf.1","typeLabel":"null"}],"uniqueKey":"card.oneOf.0.card_token","typeLabel":"string | null"},"scheme":{"oneOf":[{"type":"string","description":"The card scheme network for the particular card","uniqueKey":"card.oneOf.0.scheme.oneOf.0","typeLabel":"string"},{"type":"null","description":"The card scheme network for the particular card","uniqueKey":"card.oneOf.0.scheme.oneOf.1","typeLabel":"null"}],"uniqueKey":"card.oneOf.0.scheme","typeLabel":"string | null"},"issuer_country":{"oneOf":[{"type":"string","description":"The country code in in which the card was issued","uniqueKey":"card.oneOf.0.issuer_country.oneOf.0","typeLabel":"string"},{"type":"null","description":"The country code in in which the card was issued","uniqueKey":"card.oneOf.0.issuer_country.oneOf.1","typeLabel":"null"}],"uniqueKey":"card.oneOf.0.issuer_country","typeLabel":"string | null"},"card_fingerprint":{"oneOf":[{"type":"string","description":"A unique identifier alias to identify a particular card","uniqueKey":"card.oneOf.0.card_fingerprint.oneOf.0","typeLabel":"string"},{"type":"null","description":"A unique identifier alias to identify a particular card","uniqueKey":"card.oneOf.0.card_fingerprint.oneOf.1","typeLabel":"null"}],"uniqueKey":"card.oneOf.0.card_fingerprint","typeLabel":"string | null"},"card_isin":{"oneOf":[{"type":"string","description":"The first 6 digits of card","uniqueKey":"card.oneOf.0.card_isin.oneOf.0","typeLabel":"string"},{"type":"null","description":"The first 6 digits of card","uniqueKey":"card.oneOf.0.card_isin.oneOf.1","typeLabel":"null"}],"uniqueKey":"card.oneOf.0.card_isin","typeLabel":"string | null"},"card_issuer":{"oneOf":[{"type":"string","description":"The bank that issued the card","uniqueKey":"card.oneOf.0.card_issuer.oneOf.0","typeLabel":"string"},{"type":"null","description":"The bank that issued the card","uniqueKey":"card.oneOf.0.card_issuer.oneOf.1","typeLabel":"null"}],"uniqueKey":"card.oneOf.0.card_issuer","typeLabel":"string | null"},"card_network":{"oneOf":[{"type":"string","description":"Indicates the card network.","enum":["Visa","Mastercard","AmericanExpress","JCB","DinersClub","Discover","CartesBancaires","UnionPay","Interac","RuPay","Maestro"],"uniqueKey":"card.oneOf.0.card_network.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"card.oneOf.0.card_network.oneOf.1","typeLabel":"null"}],"uniqueKey":"card.oneOf.0.card_network","typeLabel":"enum\u003cstring> | null"},"card_type":{"oneOf":[{"type":"string","description":"The type of the payment card","uniqueKey":"card.oneOf.0.card_type.oneOf.0","typeLabel":"string"},{"type":"null","description":"The type of the payment card","uniqueKey":"card.oneOf.0.card_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"card.oneOf.0.card_type","typeLabel":"string | null"},"nick_name":{"oneOf":[{"type":"string","description":"The nick_name of the card holder","uniqueKey":"card.oneOf.0.nick_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The nick_name of the card holder","uniqueKey":"card.oneOf.0.nick_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"card.oneOf.0.nick_name","typeLabel":"string | null"}},"uniqueKey":"card.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"card.oneOf.1","typeLabel":"null"}],"uniqueKey":"card","typeLabel":"object | null"},"customer_acceptance":{"oneOf":[{"type":"object","description":"This \"CustomerAcceptance\" object is passed during Payments-Confirm request, it enlists the type, time, and mode of acceptance properties related to an acceptance done by the customer. The customer_acceptance sub object is usually passed by the SDK or client.","required":["acceptance_type"],"properties":{"acceptance_type":{"type":"string","description":"This is used to indicate if the mandate was accepted online or offline","enum":["online","offline"],"isRequired":true,"uniqueKey":"customer_acceptance.oneOf.0.acceptance_type","typeLabel":"enum\u003cstring>"},"accepted_at":{"oneOf":[{"type":"string","format":"date-time","description":"Specifying when the customer acceptance was provided","example":"2022-09-10T10:11:12Z","uniqueKey":"customer_acceptance.oneOf.0.accepted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Specifying when the customer acceptance was provided","example":"2022-09-10T10:11:12Z","uniqueKey":"customer_acceptance.oneOf.0.accepted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"customer_acceptance.oneOf.0.accepted_at","typeLabel":"string\u003cdate-time> | null"},"online":{"oneOf":[{"type":"object","required":["ip_address","user_agent"],"properties":{"ip_address":{"type":"string","description":"Ip address of the customer machine from which the mandate was created","example":"123.32.25.123","isRequired":true,"uniqueKey":"customer_acceptance.oneOf.0.online.oneOf.0.ip_address","typeLabel":"string"},"user_agent":{"type":"string","description":"The user-agent of the customer's browser","isRequired":true,"uniqueKey":"customer_acceptance.oneOf.0.online.oneOf.0.user_agent","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"customer_acceptance.oneOf.0.online.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"customer_acceptance.oneOf.0.online.oneOf.1","typeLabel":"null"}],"uniqueKey":"customer_acceptance.oneOf.0.online","typeLabel":"object | null"}},"additionalProperties":false,"uniqueKey":"customer_acceptance.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"customer_acceptance.oneOf.1","typeLabel":"null"}],"uniqueKey":"customer_acceptance","typeLabel":"object | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"mandate_id":"\u003cstring>","status":"active","payment_method_id":"\u003cstring>","payment_method":"\u003cstring>","payment_method_type":"\u003cstring>","card":{"last4_digits":"\u003cstring>","card_exp_month":"\u003cstring>","card_exp_year":"\u003cstring>","card_holder_name":"\u003cstring>","card_token":"\u003cstring>","scheme":"\u003cstring>","issuer_country":"\u003cstring>","card_fingerprint":"\u003cstring>","card_isin":"\u003cstring>","card_issuer":"\u003cstring>","card_network":"Visa","card_type":"\u003cstring>","nick_name":"\u003cstring>"},"customer_acceptance":{"acceptance_type":"online","accepted_at":"2022-09-10T10:11:12Z","online":{"ip_address":"123.32.25.123","user_agent":"\u003cstring>"}}}}},"exampleType":"generated"}},"exampleType":"generated"},"349f8e2b-5249-4825-9d03-d32fecb64fbf":{"description":"Mandate does not exist in our records","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"fda53ae6-168e-45b0-a1dd-bfd27ac55104":{"api_key":{"type":"apiKey","in":"header","name":"api-key","description":"Use the API key created under your merchant account from the Pesaswap dashboard. API key is used to authenticate API requests from your merchant server only. Don't expose this key on a website or embed it in a mobile application.","scopes":[]}}},"servers":{"3b085d12-f716-47f9-b74b-91e3b1004770":{"url":"https://api.sandbox.pesaswap.io","description":"Sandbox Environment"},"addf1c48-6e0f-4dd2-8db9-58a4614de060":{"url":"https://api.pesaswap.io","description":"Production Environment"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"api-key","description":"Use the API key created under your merchant account from the Pesaswap dashboard. API key is used to authenticate API requests from your merchant server only. Don't expose this key on a website or embed it in a mobile application.","scopes":[]},"schema":{"title":"api-key","type":"string","description":"Use the API key created under your merchant account from the Pesaswap dashboard. API key is used to authenticate API requests from your merchant server only. Don't expose this key on a website or embed it in a mobile application.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"api_key","name":"api-key"}],"title":"api_key"}]},"originalFileLocation":"openapi_spec.json"},"subdomain":"pesaswap","siteName":"Pesaswap","title":"Mandates - Retrieve Mandate - Pesaswap","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2025-08-30T08:50:56.648Z","originalFileLocation":"api-reference/mandates/mandates--retrieve-mandate.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=\"system\"}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=\"Retrieves a mandate created using the Payments/Create API\">\u003cmeta data-mint-head name=\"application-name\" content=\"Pesaswap\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/pesaswap/IiYabl-bWQCc0wDY/_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/pesaswap/IiYabl-bWQCc0wDY/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/pesaswap/IiYabl-bWQCc0wDY/_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/pesaswap/IiYabl-bWQCc0wDY/_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/pesaswap/IiYabl-bWQCc0wDY/_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/pesaswap/IiYabl-bWQCc0wDY/_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/pesaswap/IiYabl-bWQCc0wDY/_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/pesaswap/IiYabl-bWQCc0wDY/_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/pesaswap/IiYabl-bWQCc0wDY/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Mandates - Retrieve Mandate - Pesaswap\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retrieves a mandate created using the Payments/Create API\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Pesaswap\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.pesaswap.io/api-reference/mandates/mandates--retrieve-mandate\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://pesaswap.mintlify.site/_mintlify/api/og/v2?division=Mandates\u0026amp;title=Mandates+-+Retrieve+Mandate\u0026amp;description=Retrieves+a+mandate+created+using+the+Payments%2FCreate+API\u0026amp;theme=31fc1f05d1dd30c1a7dcf5ff\u0026amp;signature=820a6c8d1e07892b913fcb2028f0aeb5e4b0ec7d1d9bbe64184c47028ff7b0ec\">\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=\"Mandates - Retrieve Mandate - Pesaswap\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retrieves a mandate created using the Payments/Create API\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://pesaswap.mintlify.site/_mintlify/api/og/v2?division=Mandates\u0026amp;title=Mandates+-+Retrieve+Mandate\u0026amp;description=Retrieves+a+mandate+created+using+the+Payments%2FCreate+API\u0026amp;theme=31fc1f05d1dd30c1a7dcf5ff\u0026amp;signature=820a6c8d1e07892b913fcb2028f0aeb5e4b0ec7d1d9bbe64184c47028ff7b0ec\">\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/pesaswap/IiYabl-bWQCc0wDY/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Pesaswap\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#02555B\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.pesaswap.io/api-reference/mandates/mandates--retrieve-mandate\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/mandates/mandates--retrieve-mandate.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.pesaswap.io/#organization\",\"name\":\"Pesaswap\",\"url\":\"https://docs.pesaswap.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/pesaswap/gF_mzxFkI4qLgyPO/logo/light.svg?fit=max\u0026auto=format\u0026n=gF_mzxFkI4qLgyPO\u0026q=85\u0026s=3ab49bf4de03976de57a8f434e021b91\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.pesaswap.io#website\",\"name\":\"Pesaswap\",\"url\":\"https://docs.pesaswap.io\",\"publisher\":{\"@id\":\"https://docs.pesaswap.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.pesaswap.io/api-reference/mandates/mandates--retrieve-mandate#webpage\",\"url\":\"https://docs.pesaswap.io/api-reference/mandates/mandates--retrieve-mandate\",\"name\":\"Mandates - Retrieve Mandate\",\"description\":\"Retrieves a mandate created using the Payments/Create API\",\"dateModified\":\"2025-08-30T08:50:56.648Z\",\"isPartOf\":{\"@id\":\"https://docs.pesaswap.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.pesaswap.io/api-reference/mandates/mandates--retrieve-mandate#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.pesaswap.io/api-reference/mandates/mandates--retrieve-mandate#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Advanced Features\",\"item\":\"https://docs.pesaswap.io/api-reference/mandates/mandates--revoke-mandate\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mandates\",\"item\":\"https://docs.pesaswap.io/api-reference/mandates/mandates--revoke-mandate\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Mandates - Retrieve Mandate\",\"item\":\"https://docs.pesaswap.io/api-reference/mandates/mandates--retrieve-mandate\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.pesaswap.io/api-reference/mandates/mandates--retrieve-mandate#apireference\",\"headline\":\"Mandates - Retrieve Mandate\",\"name\":\"Mandates - Retrieve Mandate\",\"description\":\"Retrieves a mandate created using the Payments/Create API\",\"url\":\"https://docs.pesaswap.io/api-reference/mandates/mandates--retrieve-mandate\",\"mainEntityOfPage\":{\"@id\":\"https://docs.pesaswap.io/api-reference/mandates/mandates--retrieve-mandate#webpage\"},\"dateModified\":\"2025-08-30T08:50:56.648Z\",\"publisher\":{\"@id\":\"https://docs.pesaswap.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.pesaswap.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Pesaswap\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Pesaswap\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/mandates/mandates--retrieve-mandate.md","siteName":"Pesaswap","nav":{"global":null,"tabs":[{"tab":"Overview","icon":"house","pages":[{"title":"Overview","href":"/introduction"}]},{"tab":"Explore","icon":"book","pages":[{"title":"Explore","href":"/essentials/ExplorationGuide"}]},{"tab":"API Reference","icon":"terminal","groups":[{"group":"Operations","pages":[{"group":"Payments","icon":"credit-card","pages":[{"openapi":"openapi_spec post /payments","title":"Payments - Create","href":"/api-reference/payments/payments--create"},{"openapi":"openapi_spec post /payments/{payment_id}/confirm","title":"Payments - Confirm","href":"/api-reference/payments/payments--confirm"},{"openapi":"openapi_spec get /payments/{payment_id}","title":"Payments - Retrieve","href":"/api-reference/payments/payments--retrieve"},{"openapi":"openapi_spec post /payments/{payment_id}/cancel","title":"Payments - Cancel","href":"/api-reference/payments/payments--cancel"},{"openapi":"openapi_spec post /payments/{payment_id}/capture","title":"Payments - Capture","href":"/api-reference/payments/payments--capture"},{"openapi":"post /payments/{payment_id}/incremental_authorization","title":"Payments - Incremental Authorization","href":"/api-reference/payments/payments--incremental-authorization"},{"openapi":"openapi_spec post /payments/session_tokens","title":"Payments - Session token","href":"/api-reference/payments/payments--session-token"},{"openapi":"openapi_spec get /payment_link/{payment_link_id}","title":"Payments Link - Retrieve","href":"/api-reference/payments/payments-link--retrieve"},{"openapi":"openapi_spec get /payments/list","title":"Payments - List","href":"/api-reference/payments/payments--list"},{"openapi":"post /payments/{payment_id}/3ds/authentication","title":"Payments - External 3DS Authentication","href":"/api-reference/payments/payments--external-3ds-authentication"},{"openapi":"post /{payment_id}/complete_authorize","title":"Payments - Complete Authorize","href":"/api-reference/payments/payments--complete-authorize"}]},{"group":"Payment Methods","icon":"wallet","pages":[{"openapi":"openapi_spec post /payment_methods","title":"PaymentMethods - Create","href":"/api-reference/payment-methods/paymentmethods--create"},{"openapi":"openapi_spec get /payment_methods/{method_id}","title":"Payment Method - Retrieve","href":"/api-reference/payment-methods/payment-method--retrieve"},{"openapi":"openapi_spec post /payment_methods/{method_id}/update","title":"Payment Method - Update","href":"/api-reference/payment-methods/payment-method--update"},{"openapi":"openapi_spec delete /payment_methods/{method_id}","title":"Payment Method - Delete","href":"/api-reference/payment-methods/payment-method--delete"},{"openapi":"get /{customer_id}/payment_methods/{payment_method_id}/default","title":"Payment Method - Set Default Payment Method for Customer","href":"/api-reference/payment-methods/payment-method--set-default-payment-method-for-customer"},{"openapi":"openapi_spec get /account/payment_methods","title":"List payment methods for a Merchant","href":"/api-reference/payment-methods/list-payment-methods-for-a-merchant"},{"openapi":"get /customers/payment_methods","title":"List customer saved payment methods for a Payment","href":"/api-reference/payment-methods/list-customer-saved-payment-methods-for-a-payment"},{"openapi":"openapi_spec get /customers/{customer_id}/payment_methods","title":"List payment methods for a Customer","href":"/api-reference/payment-methods/list-payment-methods-for-a-customer"},{"openapi":"get /{customer_id}/payment_methods/{payment_method_id}/default","title":"Payment Method - Set Default Payment Method for Customer","href":"/api-reference/customer-set-default-payment-method/customers--set-default-payment-method"}]},{"group":"Customers","icon":"users","pages":[{"openapi":"openapi_spec post /customers","title":"Customers - Create","href":"/api-reference/customers/customers--create"},{"openapi":"openapi_spec get /customers/{customer_id}","title":"Customers - Retrieve","href":"/api-reference/customers/customers--retrieve"},{"openapi":"openapi_spec post /customers/{customer_id}","title":"Customers - Update","href":"/api-reference/customers/customers--update"},{"openapi":"openapi_spec delete /customers/{customer_id}","title":"Customers - Delete","href":"/api-reference/customers/customers--delete"},{"openapi":"openapi_spec get /customers/list","title":"Customers - List","href":"/api-reference/customers/customers--list"}]},{"group":"Payouts","icon":"link","pages":[{"openapi":"openapi_spec post /payouts/create","title":"Payouts - Create","href":"/api-reference/payouts/payouts--create"},{"openapi":"openapi_spec post /payouts/{payout_id}","title":"Payouts - Update","href":"/api-reference/payouts/payouts--update"},{"openapi":"openapi_spec post /payouts/{payout_id}/cancel","title":"Payouts - Cancel","href":"/api-reference/payouts/payouts--cancel"},{"openapi":"openapi_spec post /payouts/{payout_id}/fulfill","title":"Payouts - Fulfill","href":"/api-reference/payouts/payouts--fulfill"},{"openapi":"openapi_spec post /payouts/{payout_id}/confirm","title":"Payouts - Confirm","href":"/api-reference/payouts/payouts--confirm"},{"openapi":"openapi_spec get /payouts/{payout_id}","title":"Payouts - Retrieve","href":"/api-reference/payouts/payouts--retrieve"},{"openapi":"get /payouts/list","title":"Payouts - List","href":"/api-reference/payouts/payouts--list"},{"openapi":"post /payouts/filter","title":"Payouts - List available filters","href":"/api-reference/payouts/payouts--list-filters"},{"openapi":"post /payouts/list","title":"Payouts - List using filters","href":"/api-reference/payouts/payouts--filter"},{"title":"Pesalink Bank Codes","href":"/api-reference/payouts/pesapay--bank-codes"}]}]},{"group":"Advanced Features","pages":[{"group":"Mandates","icon":"file-text","pages":[{"openapi":"openapi_spec post /mandates/revoke/{mandate_id}","title":"Mandates - Revoke Mandate","description":"Revokes a mandate created using the Payments/Create API","href":"/api-reference/mandates/mandates--revoke-mandate"},{"openapi":"openapi_spec get /mandates/{mandate_id}","title":"Mandates - Retrieve Mandate","href":"/api-reference/mandates/mandates--retrieve-mandate"},{"openapi":"post /customers/{customer_id}/mandates","title":"Mandates - Customer Mandates List","description":"Lists all the mandates for a particular customer id.","href":"/api-reference/mandates/mandates--customer-mandates-list"}]},{"group":"Refunds","icon":"undo","pages":[{"openapi":"openapi_spec post /refunds","title":"Refunds - Create","href":"/api-reference/refunds/refunds--create"},{"openapi":"openapi_spec post /refunds/{refund_id}","title":"Refunds - Update","href":"/api-reference/refunds/refunds--update"},{"openapi":"openapi_spec get /refunds/{refund_id}","title":"Refunds - Retrieve","href":"/api-reference/refunds/refunds--retrieve"},{"openapi":"openapi_spec post /refunds/list","title":"Refunds - List","href":"/api-reference/refunds/refunds--list"}]},{"group":"Disputes","icon":"triangle-alert","pages":[{"openapi":"openapi_spec get /disputes/{dispute_id}","title":"Disputes - Retrieve Dispute","href":"/api-reference/disputes/disputes--retrieve"},{"openapi":"openapi_spec get /disputes/list","title":"Disputes - List Disputes","href":"/api-reference/disputes/disputes--list"}]}]},{"group":"Admin APIs","pages":[{"group":"Organization","icon":"building","pages":[{"openapi":"post /organization","title":"Organization - Create","href":"/api-reference/organization/organization--create"},{"openapi":"get /organization/{id}","title":"Organization - Retrieve","href":"/api-reference/organization/organization--retrieve"},{"openapi":"put /organization/{id}","title":"Organization - Update","href":"/api-reference/organization/organization--update"}]},{"group":"Merchant Account","icon":"store","pages":[{"openapi":"post /accounts","title":"Merchant Account - Create","href":"/api-reference/merchant-account/merchant-account--create"},{"openapi":"get /accounts/{account_id}","title":"Merchant Account - Retrieve","href":"/api-reference/merchant-account/merchant-account--retrieve"},{"openapi":"post /accounts/{account_id}","title":"Merchant Account - Update","href":"/api-reference/merchant-account/merchant-account--update"},{"openapi":"delete /accounts/{account_id}","title":"Merchant Account - Delete","href":"/api-reference/merchant-account/merchant-account--delete"},{"openapi":"post /accounts/{account_id}/kv","title":"Merchant Account - KV Status","href":"/api-reference/merchant-account/merchant-account--kv-status"}]},{"group":"API Key","icon":"key","pages":[{"openapi":"post /api_keys/{merchant_id}","title":"API Key - Create","href":"/api-reference/api-key/api-key--create"},{"openapi":"get /api_keys/{merchant_id}/{key_id}","title":"API Key - Retrieve","href":"/api-reference/api-key/api-key--retrieve"},{"openapi":"post /api_keys/{merchant_id}/{key_id}","title":"API Key - Update","href":"/api-reference/api-key/api-key--update"},{"openapi":"delete /api_keys/{merchant_id}/{key_id}","title":"API Key - Revoke","href":"/api-reference/api-key/api-key--revoke"},{"openapi":"get /api_keys/{merchant_id}/list","title":"API Key - List","href":"/api-reference/api-key/api-key--list"}]}]}]}]},"basePath":"","title":"Mandates - Retrieve Mandate - Pesaswap","deploymentId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","buildId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C6Z1vAfX.js","snippetPresets-Bjd6OXRM.js","utils-QL6OhUyF.js","style-to-object-BY3JEAdk.js","utils-Dsq-HLeF.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-CEYfmkoV.js","conditional-requirements-CFM0id0Q.js","cloneDeep-CHgPjMM8.js","_Uint8Array-IXRJ_ueo.js","isObject-FP1Yky1u.js","ApiExamples-pq4ns9YA.js","usePlaygroundInputsStore-D-gnigmo.js","shallow-DIfWGPrf.js","isEqual-DDFuixlH.js","CodeSnippets-8g5rilZj.js","CodeSnippet-C_J7pouP.js","use-playground-group-access-bkOyfPao.js","Page-B_smDgrp.js","api-description-markdown-DtcP2u3s.js","DynamicMarkdown-DOefW1_8.js","SectionHeading-Cg4lfWZw.js","MethodPill-BnqygvYm.js","getPastedJson-BGXYEZ3P.js","Check2Icon-BBeO3TOS.js","axios-CsQoIw0U.js","Markdown-D5IqLG6A.js","AssistantPageLink-_S2h4i6W.js","dist-DzZqOeCq.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}