---
updatedAt: 2026-10-26T12:38:23.000Z
---

# Confirm Transfer

Use this API to confirm the processing of initiated fund transfer between accounts. The `id` returned in the Initiate Transfer will be needed in the Confirm Transfer API call.

[block:html]
{
  "html": "<blockquote class=\"callout callout_warn\" theme=\"⚠️\">\n<span class=\"callout-icon\">⚠️</span> <p> <b>Unified Transfer</b> is in <b>active development</b>. As a pioneer merchant, you will be informed of the updates through your Maya Relationship Manager. </p>\n</blockquote>"
}
[/block]

# OpenAPI definition

````json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Unified Transfer API",
    "version": "1.0.0",
    "description": "The Unified Transfer API provides a secure and reliable way to transfer funds between accounts across various financial institutions.\n## Introduction\nWelcome! This document provides a comprehensive guide for partner financial institutions to integrate with our Unified Transfer API. Our system is built on open standards to ensure maximum security, interoperability, and compliance.\n\nTo protect all parties and transactions, our APIs are secured using:\n\n  * OAuth 2.0 Framework: For authorization and access control.\n  * OpenID Connect (OIDC): For identity verification and authentication.\n  * Financial-grade API (FAPI) Profile: A highly secure profile of OAuth that mandates advanced security measures like request signing.\n\n\nThis guide focuses on the machine-to-machine (M2M) interaction required for initiating funds transfers. The specified authentication method is the OAuth 2.0 Client Credentials Grant, supplemented with FAPI-compliant digital signatures for all requests.\n\nThis solution uses Bearer Token Authentication. Your application must secure a valid `access_token` from Maya Connect to authenticate your requests.\nFor more details, refer to <a href=\"https://developers.maya.ph/reference/bearer-authentication\">Maya Bearer Authentication</a>\n## Securing Requests: FAPI-Compliant Signing\nA standard access token is not sufficient for high-security operations like funds transfers. As per FAPI standards, you must also digitally sign your API requests using a private key. This provides non-repudiation and ensures the integrity of the request.\n\nThis is a two-step process:\n\n  1. Generate a Key Pair and Expose a Public JWKS Endpoint: You create a public/private key pair and make the public key available for us to retrieve.\n  2. Sign Your Requests: You use the private key to sign the body of every API request you send.\n\n### Step 1: Setting Up Your JWKS Endpoint\nOur system needs access to your public key to verify your digital signatures. You must host a JSON Web Key Set (JWKS) file at a specific, publicly accessible .well-known URI.\n\n<u>Action Required</u>:\n\n  1. Generate a Signing Key: Generate an RSA or ECDSA key pair. The RS256 (RSA with SHA-256) algorithm is recommended.\n  2. Create a JWKS File: Create a JSON file containing the public key from the pair you generated. The file should also include a unique Key ID (kid).\n  3. Host the JWKS File: Host this file at the following URL: https://your-institution-domain.com/.well-known/jwks.json  \n    This example uses an RSA key.\n      ```json\n      {\n        \"keys\": [\n          {\n            \"kty\": \"RSA\",\n            \"e\": \"AQAB\",\n            \"use\": \"sig\",\n            \"kid\": \"your-unique-key-id-12345\",\n            \"alg\": \"RS256\",\n            \"n\": \"vTq5T5...\"\n          }\n        ]\n      }\n      ```\n      * kty: Key Type (e.g., \"RSA\")\n      * use: Public Key Use (\"sig\" for signature)\n      * kid: Key ID. A unique identifier for the key. You will include this in your signed requests.\n      * alg: The algorithm used with this key.\n      * n, e: The modulus and exponent of the RSA public key.\n\n\n<i>During registration, you must provide us with the URL to your .well-known/jwks.json endpoint.</i>\n### Step 2: Signing the API Request Payload\nFor every API call to our funds transfer endpoint, you must create a JSON Web Signature (JWS) of the request body.\n\n<u>Process:</u>\n\n  1. Get the Request Body: This is the JSON payload of your funds transfer request.\n  2. Create the JWS Header: The header must specify the signing algorithm and your Key ID (kid).\n      ```json\n      {\n        \"alg\": \"RS256\",\n        \"kid\": \"your-unique-key-id-12345\",\n        \"typ\": \"JWT\"\n      }\n      ```\n  3. Sign: Using a standard JWT/JWS library, sign the request body using your private key. The output will be a JWS in Compact Serialization format (a string with three parts separated by dots).\n\n## Monitoring fund transfers\n    \nBalance transfers are processed <b>asynchronously</b> to handle potential timeouts and latency spikes that often cause ambiguous transaction states. Maya uses callbacks to inform your application about specific events related to the fund transfers transaction. These notifications include the transaction status and response codes.\n\nYour callback endpoint should expect to receive a POST request with JSON payload from Maya. You can refer to the <b>Inquire Status</b> response for the sample callback payload. The callback endpoint is expected to return a response with 2xx  status code.\n\nMaya's callback will trigger a maximum of <b>5 times</b>.\n  * Initial attempt: Right away (~1 second after event is triggered)\n  * Immediate retry: Right away (~1 second after initial attempt fails)\n  * 1st scheduled retry: 5 minutes after immediate retry fails\n  * 2nd scheduled retry: 15 minutes after 1st scheduled retry fails\n  * 3rd scheduled retry: 45 minutes after 2nd scheduled retry fails\n\n<i>If your application doesn't receive callbacks from Maya, you may use the <b>Inquire Status</b> endpoints instead.</i>\n\n<table>\n  <caption><h3>List of Standard Field Values</h3></caption>\n  <tbody>\n    <thead>\n      <td width=\"10%\">Field</td>\n      <td width=\"70%\">Values</td>\n    </thead>\n    <tr>\n      <td><b>IDENTIFICATION TYPES</b></td>\n       <td>\n        <ul>\n          <li>UMID/SSS Card</li>\n          <li>Passport</li>\n          <li>Driver's License</li>\n          <li>PRC License</li>\n          <li>GSIS E-Card</li>\n          <li>OWWA ID</li>\n          <li>Alien Certification of Registration (ACR)</li>\n          <li>Government Office and GOCC IDs (AFP, NBI, etc.)</li>\n          <li>Integrated Bar of the Philippines ID</li>\n          <li>Employee/Company ID</li>\n          <li>School ID</li>\n          <li>Senior Citizen ID</li>\n          <li>Seaman's Book</li>\n          <li>NBI Clearance</li>\n          <li>Police Clearance</li>\n          <li>Postal ID</li>\n          <li>Voter's ID</li>\n          <li>TIN Card</li>\n          <li>Barangay Certification</li>\n          <li>Certification from NCWDP</li>\n          <li>DSWD Certification</li>\n          <li>PhilHealth ID</li>\n          <li>PhilSys ID/PhilID</li>\n        </ul>\n       </td>\n    </tr>\n    <tr>\n      <td><b>INCOME SOURCES</b></td>\n      <td>\n        <ul>\n          <li>Remittance</li>\n          <li>Interest on Savings, Placements, Investments</li>\n          <li>Salary</li>\n          <li>Business Proceeds</li>\n          <li>Government Aid</li>\n          <li>Inheritance</li>\n          <li>Loan Proceeds</li>\n          <li>Allowance</li>\n          <li>Commission</li>\n          <li>Donation</li>\n          <li>Online Business</li>\n          <li>Pension</li>\n          <li>Self Employed</li>\n          <li>Other/s, please specify</li>  \n        </ul>\n       </td>\n    </tr>\n    <tr>\n      <td><b>RELATIONSHIP TO RECEIVER</b></td>\n      <td>\n        <ul>\n          <li>Father</li>\n          <li>Mother</li>\n          <li>Spouse/Common-law partner</li>\n          <li>Son</li>\n          <li>Daughter</li>\n          <li>Brother</li>\n          <li>Sister</li>\n          <li>Relatives</li>\n          <li>Guardian</li>\n          <li>Self</li>\n          <li>Friend</li>\n          <li>Colleague</li>\n          <li>Employee/Employer</li>\n          <li>Trade/Business Partner</li>\n          <li>Donor/Receiver of Charitable Funds</li>\n        </ul>\n       </td>\n    </tr>\n    <tr>\n      <td><b>TRANSACTION PURPOSE</b></td>\n      <td>\n        <ul>\n          <li>Education-related expense</li>\n          <li>Medical expense</li>\n          <li>Goods & Services payment</li>\n          <li>Family Support/Allowance</li>\n          <li>Donations/Gifts</li>\n          <li>Loan Payment</li>\n          <li>Saving/Investments/Earnings</li>\n          <li>Living Expense</li>\n          <li>Home Improvement</li>\n          <li>Rent/Mortgage</li>\n          <li>Taxes/Gov't Fees/Obligations</li>\n          <li>Business Capital</li>\n          <li>Commissions/Professional/Management Fees</li>\n          <li>Purchase of Assets</li>\n          <li>Subscription payment</li>\n          <li>Lottery/Gambling winnings</li>\n          <li>Payment of Shipments</li>\n          <li>Employee Payroll/Employee Expense</li>\n          <li>Travel/Leisure</li>\n          <li>Debt Settlement</li>\n        </ul>\n       </td>\n    </tr>\n    <tr>\n      <td><b>WORK NATURE</b></td>\n      <td>\n        <ul>\n          <li>Accountant</li> \n          <li>Banking</li>\n          <li>BPO Companies</li>\n          <li>Brokerage/Securities Sector</li>\n          <li>Car Dealers</li>\n          <li>Casinos/Gaming Clubs/Lottery Outlet</li>\n          <li>Construction</li>\n          <li>Doctor/Dentist/Other Medical Professionals</li>\n          <li>E-commerce/Online Business</li>\n          <li>E-money Issuers</li> \n          <li>Education (Teacher, Tutor, Professor, etc.) </li>\n          <li>Embassies/Foreign Consulates</li>\n          <li>Financial Services (Non Stock Savings and Loans Associations (NSSLS))</li>\n          <li>Freelance (e.g Writer, Buy and Sell)</li>\n          <li>FX Dealer/Money Changer</li>\n          <li>Government Employees</li>\n          <li>Government Service (LGUs, etc.)</li>\n          <li>Housewife/Househusband/Dependent</li>\n          <li>Insurance Sector</li>\n          <li>IT Companies</li> \n          <li>Jewelry Business</li>\n          <li>Lawyers or Notaries</li>\n          <li>Legal Practice (Firms)</li>\n          <li>Lending and Financing</li>\n          <li>Manning/Employment Agencies</li>\n          <li>Manufacturing</li>\n          <li>Military and Police</li>\n          <li>Multi Level Marketing</li>\n          <li>NGO/Foundation/Charities</li>\n          <li>OFW</li> \n          <li>Other/s, please specify</li>\n          <li>Pawnshop</li>\n          <li>Precious Metals and Stones Business</li>\n          <li>Real Estate</li>\n          <li>Religious Organizations</li>\n          <li>Remittance Agent</li>\n          <li>Retiree</li>\n          <li>Students</li>\n          <li>Transportation (Driver, Operator, etc.)</li>\n          <li>Virtual Currencies</li>\n        </ul>\n     </td>\n    </tr>\n  </tbody>\n</table>\n<table>\n  <caption><h3>List of Transaction Status</h3></caption>\n  <tbody>\n    <thead>\n      <td width=\"10%\">Status</td>\n      <td width=\"70%\">Description</td>\n      <td width=\"20%\">Results from</td>\n    </thead>\n    <tr>\n      <td><b>INITIATED</b></td>\n      <td>The fund transfer is initiated by the requestor and successfully validated by the service.</td>\n      <td>Initiate Transfer</td>\n    </tr>\n    <tr>\n      <td><b>PROCESSING</b></td>\n      <td>The fund transfer has been confirmed and is still in progress.</td>\n      <td>Confirm Transfer</td>\n    </tr>\n    <tr>\n      <td><b>APPROVED</b></td>\n      <td>The fund transfer has been successfully processed and completed. The funds have been debited from the source account and credited to the destination account. No further action is required.</td>\n      <td>Confirm Transfer</td>\n    </tr>\n    <tr>\n      <td><b>DECLINED</b></td>\n      <td>The fund transfer request has been rejected and was not processed. This may be due to insufficient funds, account restrictions, validation failures, or other issues specified in the error code. Please review the error details for more information.</td>\n      <td>Initiate Transfer, Confirm Transfer</td>\n    </tr>\n    <tr>\n      <td><b>LAPSED</b></td>\n      <td>The initiated fund transfer is no longer valid because the confirmation deadline has been exceeded.</td>\n      <td>Confirm Transfer</td>\n    </tr>\n  </tbody>\n</table>\n<br /> <table>\n  <caption><h3>List of Error Codes</h3></caption>\n  <tbody>\n    <thead>\n      <td width=\"10%\">Error Code</td>\n      <td width=\"10%\">HTTP Status</td>\n      <td width=\"80%\">Error Description</td>\n    </thead>\n    <tr>\n      <td colspan=\"3\"><b>Initiate Transfer Error Codes</b></td>\n    </tr>\n    <tr>\n      <td><b>TRGINIT000</b></td>\n      <td>500</td>\n      <td>An unexpected error occurred while processing the fund transfer. You can inquire the status of the fund transfer through our inquiry endpoints. If you need more assistance, please reach out to our partner support team (partner.support@maya.ph) to assist you in checking and getting more information.</td>\n    </tr>\n    <tr>\n      <td><b>TRGINIT001</b></td>\n      <td>400</td>\n      <td>One or more fields have invalid values (headers or body). Please review the list of invalid fields provided in the response.</td>\n    </tr>\n    <tr>\n      <td><b>TRGINIT002</b></td>\n      <td>403</td>\n      <td>You are not allowed to use the service because you are not yet onboarded in Maya's system. Please reach out to our partner support team (partner.support@maya.ph) to check your onboarding status.</td>\n    </tr>\n    <tr>\n      <td><b>TRGINIT003</b></td>\n      <td>403</td>\n      <td>You are not allowed to use the service because your status is inactive. Please reach out to our partner support team (partner.support@maya.ph) to check and update your status.</td>\n    </tr>\n    <tr>\n      <td><b>TRGINIT004</b></td>\n      <td>403</td>\n      <td>The financial institution code of the debit account is not supported. Please use a valid financial institution code for the debit account.</td>\n    </tr>\n    <tr>\n      <td><b>TRGINIT005</b></td>\n      <td>403</td>\n      <td>The financial institution code of the credit account is not supported. Please use a valid financial institution code for the credit account.</td>\n    </tr>\n    <tr>\n      <td><b>TRGINIT006</b></td>\n      <td>409</td>\n      <td>The request you are trying to initiate has an existing fund transfer transaction with the same request information. You can inquire the status of the existing transaction using the included ID. Otherwise, you can initiate the same request with a different x-idempotency-key.</td>\n    </tr>\n    <tr>\n      <td><b>TRGINIT007</b></td>\n      <td>409</td>\n      <td>You're trying to initiate a request with the same x-idempotency-key but with a different request body. If this is a new fund transfer, please use a different x-idempotency-key.</td>\n    </tr>\n    <tr>\n      <td><b>TRGINIT008</b></td>\n      <td>422</td>\n      <td>You're using a debit account that is not associated with you. Kindly use a debit account that you own.</td>\n    </tr>\n    <tr>\n      <td><b>TRGIDDRD01</b></td>\n      <td>403</td>\n      <td>The debit account in Maya does not exist. If you are certain that the account must exist, please reach out to our partner support team (partner.support@maya.ph) to assist you in checking and getting more information.</td>\n    </tr>\n    <tr>\n      <td><b>TRGIDDRC01</b></td>\n      <td>403</td>\n      <td>The credit account in Maya does not exist. You may ask the sender to provide a valid account.</td>\n    </tr>\n    <tr>\n      <td><b>TRGIDDR000</b></td>\n      <td>422</td>\n      <td>An unexpected error occurred while validating the accounts. Please reach out to our partner support team (partner.support@maya.ph) to assist you in checking and getting more information.</td>\n    </tr>\n    <tr>\n      <td><b>TRGIDDR001</b></td>\n      <td>422</td>\n      <td>An unexpected error occurred while validating the accounts. No funds have been moved. Re-transact using a new x-idempotency-key. If the problem persist, please reach out to our partner support team (partner.support@maya.ph) to assist you in checking and getting more information.</td>\n    </tr>\n    <tr>\n      <td><b>TRGIWDLD01</b></td>\n      <td>403</td>\n      <td>The debit account does not exist in the specified financial institution. Please use a valid debit account.</td>\n    </tr>\n    <tr>\n      <td><b>TRGIWDLD02</b></td>\n      <td>409</td>\n      <td>The debit account has an insufficient balance. Please fund your debit account to be able to resume processing transactions.</td>\n    </tr>\n    <tr>\n      <td><b>TRGIWDLC01</b></td>\n      <td>403</td>\n      <td>The credit account does not exist in the specified financial institution. Please use a valid credit account.</td>\n    </tr>\n    <tr>\n      <td><b>TRGIWDL000</b></td>\n      <td>422</td>\n      <td>An unexpected error occurred while processing the fund transfer. Please reach out to our partner support team (partner.support@maya.ph) to assist you in checking and getting more information.</td>\n    </tr>\n    <tr>\n      <td><b>TRGIWDL001</b></td>\n      <td>422</td>\n      <td>An unexpected error occurred while processing the fund transfer. No funds have been moved. Re-transact using a new x-idempotency-key. If the problem persist, please reach out to our partner support team (partner.support@maya.ph) to assist you in checking and getting more information.</td>\n    </tr>\n    <tr>\n      <td><b>TRGIWDL002</b></td>\n      <td>400</td>\n      <td>The financial institution code of the credit account is not supported. Please use a valid financial institution code for the credit account.</td>\n    </tr>\n    <tr>\n      <td><b>TRGIWDL003</b></td>\n      <td>422</td>\n      <td>The financial institution of the credit account is under maintenance. Please try again later using a different x-idempotency-key.</td>\n    </tr>\n    <tr>\n      <td colspan=\"3\"></td>\n    </tr>\n    <tr>\n      <td colspan=\"3\"><b>Confirm Transfer Error Codes</b></td>\n    </tr>\n    <tr>\n      <td><b>TRGCONF000</b></td>\n      <td>500</td>\n      <td>An unexpected error occurred while processing the fund transfer. You can inquire the status of the fund transfer through our inquiry endpoints. If the status is not in the final state, please reach out to our partner support team (partner.support@maya.ph) to assist you in checking and getting more information.</td>\n    </tr>\n    <tr>\n      <td><b>TRGCONF001</b></td>\n      <td>400</td>\n      <td>One or more fields have invalid values (headers or body). Please review the list of invalid fields provided in the response.</td>\n    </tr>\n    <tr>\n      <td><b>TRGCONF002</b></td>\n      <td>404</td>\n      <td>The fund transfer you are confirming does not exist. Please initiate a fund transfer first.</td>\n    </tr>\n    <tr>\n      <td><b>TRGCONF003</b></td>\n      <td>403</td>\n      <td>You are not authorized to confirm this fund transfer. This fund transfer was initiated by a different client and can only be confirmed by the original initiator.</td>\n    </tr>\n    <tr>\n      <td><b>TRGCONF004</b></td>\n      <td>408</td>\n      <td>The fund transfer you are confirming already reached its confirmation deadline. Please initiate a fund transfer again using a different x-idempotency-key.</td>\n    </tr>\n  </tbody>\n</table> <table>\n  <caption><h3>List of Callback Error Codes</h3></caption>\n  <tbody>\n    <thead>\n      <td width=\"10%\">Error Code</td>\n      <td width=\"80%\">Error Description</td>\n    </thead>\n    <tr>\n      <td><b>TRGCWDL001</b></td>\n      <td>The fund transfer cannot proceed due to internal restrictions. Please reach out to our partner support team (partner.support@maya.ph) to assist you in checking and getting more information.</td>\n    </tr>\n    <tr>\n      <td><b>TRGCWDL002</b></td>\n      <td>The financial institution of the credit account is currently unavailable. Please try again later using a different x-idempotency-key.</td>\n    </tr>\n    <tr>\n      <td><b>TRGCWDL003</b></td>\n      <td>The financial institution of the credit account declined the transaction. Please try again later using a different x-idempotency-key.</td>\n    </tr>\n    <tr>\n      <td><b>TRGCWDL004</b></td>\n      <td>The financial institution of the credit account declined the transaction due to the transaction amount is below their minimum requirement.</td>\n    </tr>\n    <tr>\n      <td><b>TRGCWDLA01</b></td>\n      <td>One of the accounts does not exist in the specified financial institution. Please use a valid debit or credit account</td>\n    </tr>\n    <tr>\n      <td><b>TRGCWDLA02</b></td>\n      <td>The transaction count limit was exceeded for one of the accounts.</td>\n    </tr>\n    <tr>\n      <td><b>TRGCWDLA03</b></td>\n      <td>The transaction amount limit was exceeded for one of the accounts.</td>\n    </tr>\n    <tr>\n      <td><b>TRGCWDLD01</b></td>\n      <td>The debit account exceeded the account limit.</td>\n    </tr>\n    <tr>\n      <td><b>TRGCWDLC01</b></td>\n      <td>The credit account does not exist in the specified financial institution. You may ask the customer to provide a valid credit account.</td>\n    </tr>\n    <tr>\n      <td><b>TRGCWDLC02</b></td>\n      <td>The credit account is unusable in the specified financial institution. You may ask the customer to provide a valid credit account.</td>\n    </tr>\n    <tr>\n      <td><b>TRGCWDLC03</b></td>\n      <td>The credit account exceeded the account limit.</td>\n    </tr>\n  </tbody>\n</table>"
  },
  "servers": [
    {
      "url": "https://sandbox.api.maya.ph",
      "description": "Sandbox server (uses test data)"
    },
    {
      "url": "https://api.maya.ph",
      "description": "Production server (uses live data)"
    }
  ],
  "paths": {
    "/v1/transfers/p2p/{id}/confirmation": {
      "parameters": [
        {
          "$ref": "#/components/parameters/id"
        },
        {
          "$ref": "#/components/parameters/Authorization"
        },
        {
          "$ref": "#/components/parameters/x-jws-signature"
        },
        {
          "$ref": "#/components/parameters/x-fapi-interaction-id"
        },
        {
          "$ref": "#/components/parameters/x-fapi-auth-date"
        },
        {
          "$ref": "#/components/parameters/x-fapi-customer-ip-address"
        },
        {
          "$ref": "#/components/parameters/x-customer-user-agent"
        }
      ],
      "put": {
        "summary": "Confirm Transfer",
        "operationId": "confirmTransfer",
        "description": "Use this API to confirm the processing of initiated fund transfer between accounts. The `id` returned in the Initiate Transfer will be needed in the Confirm Transfer API call.",
        "tags": [
          "Fund Transfer"
        ],
        "security": [
          {
            "OAuth2": [
              "transfer"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "Successfully validates the requested fund transfer initiated by the requestor. Returns detailed information about the transaction including its unique ID, status, and timestamps.",
            "headers": {
              "x-fapi-interaction-id": {
                "$ref": "#/components/headers/x-fapi-interaction-id"
              },
              "x-fapi-auth-date": {
                "$ref": "#/components/headers/x-fapi-auth-date"
              },
              "x-fapi-customer-ip-address": {
                "$ref": "#/components/headers/x-fapi-customer-ip-address"
              },
              "x-customer-user-agent": {
                "$ref": "#/components/headers/x-customer-user-agent"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TransferResponse"
                },
                "examples": {
                  "APPROVED": {
                    "$ref": "#/components/examples/ApprovedTransferResponse"
                  },
                  "DECLINED": {
                    "$ref": "#/components/examples/DeclinedTransferResponse"
                  }
                }
              }
            }
          },
          "202": {
            "description": "When the requestor confirms the fund transfer for the first time.",
            "headers": {
              "x-fapi-interaction-id": {
                "$ref": "#/components/headers/x-fapi-interaction-id"
              },
              "x-fapi-auth-date": {
                "$ref": "#/components/headers/x-fapi-auth-date"
              },
              "x-fapi-customer-ip-address": {
                "$ref": "#/components/headers/x-fapi-customer-ip-address"
              },
              "x-customer-user-agent": {
                "$ref": "#/components/headers/x-customer-user-agent"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TransferResponse"
                },
                "examples": {
                  "PROCESSING": {
                    "$ref": "#/components/examples/ProcessingTransferResponse"
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "405": {
            "$ref": "#/components/responses/405"
          },
          "406": {
            "$ref": "#/components/responses/406"
          },
          "408": {
            "$ref": "#/components/responses/408"
          },
          "409": {
            "$ref": "#/components/responses/409"
          },
          "415": {
            "$ref": "#/components/responses/415"
          },
          "422": {
            "$ref": "#/components/responses/422"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          },
          "504": {
            "$ref": "#/components/responses/504"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "OAuth2": {
        "type": "oauth2",
        "flows": {
          "authorizationCode": {
            "authorizationUrl": "https://connect-sb-issuing.paymaya.com/introspect",
            "tokenUrl": "https://connect-sb-issuing.paymaya.com/token",
            "scopes": {
              "transfer": "Grants access to Unified Transfer API"
            }
          }
        }
      }
    },
    "parameters": {
      "id": {
        "in": "path",
        "name": "id",
        "description": "Unique identification of the fund transfer (also known as Transfer ID).",
        "schema": {
          "$ref": "#/components/schemas/UUID"
        },
        "required": true
      },
      "Authorization": {
        "in": "header",
        "name": "Authorization",
        "description": "Credentials to integrate with the API.",
        "schema": {
          "type": "string",
          "format": "[^%{}<>;]*",
          "example": "Bearer eyJraWQiOiJyc2ExIiwiYWxnIjoiUlMyNTYifQ"
        },
        "required": true
      },
      "x-jws-signature": {
        "in": "header",
        "name": "x-jws-signature",
        "description": "A detached JWS signature of the body of the payload.",
        "schema": {
          "type": "string",
          "example": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"
        },
        "required": true
      },
      "x-fapi-interaction-id": {
        "in": "header",
        "name": "x-fapi-interaction-id",
        "description": "An RFC4122 UUID used as a correlation id.",
        "schema": {
          "allOf": [
            {
              "$ref": "#/components/schemas/UUID"
            }
          ],
          "example": "52fc19ea-71b1-45b4-8cbe-eacb7d9670a6"
        },
        "required": false
      },
      "x-fapi-auth-date": {
        "in": "header",
        "name": "x-fapi-auth-date",
        "description": "The time when the client was last authenticated. All dates in the HTTP headers are represented as RFC 7231 Full Dates. An example is below: Fri, 27 Jun 2025 04:14:02 UTC",
        "schema": {
          "type": "string",
          "example": "Fri, 27 Jun 2025 04:14:02 UTC"
        },
        "required": false
      },
      "x-fapi-customer-ip-address": {
        "in": "header",
        "name": "x-fapi-customer-ip-address",
        "description": "The client's IP address.",
        "schema": {
          "type": "string",
          "example": "192.168.1.1"
        },
        "required": false
      },
      "x-customer-user-agent": {
        "in": "header",
        "name": "x-customer-user-agent",
        "description": "The user-agent that the client is using.",
        "schema": {
          "type": "string",
          "example": "MyApp/1.0.0"
        },
        "required": false
      }
    },
    "headers": {
      "x-fapi-interaction-id": {
        "description": "x-fapi-interaction-id given on the request headers",
        "schema": {
          "allOf": [
            {
              "$ref": "#/components/schemas/UUID"
            }
          ],
          "example": "52fc19ea-71b1-45b4-8cbe-eacb7d9670a6"
        }
      },
      "x-fapi-auth-date": {
        "description": "x-fapi-auth-date given on the request headers",
        "schema": {
          "type": "string",
          "example": "Fri, 27 Jun 2025 04:14:02 UTC"
        }
      },
      "x-fapi-customer-ip-address": {
        "description": "x-fapi-customer-ip-address given on the request headers",
        "schema": {
          "type": "string",
          "format": "ipv4",
          "example": "192.168.1.1"
        }
      },
      "x-customer-user-agent": {
        "description": "x-customer-user-agent given on the request headers",
        "schema": {
          "type": "string",
          "example": "MyApp/1.0.0"
        }
      }
    },
    "responses": {
      "400": {
        "description": "When one or more parameters, headers, or fields have invalid values.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "example": {
              "errors": [
                {
                  "code": "TRGINIT001",
                  "description": "One or more fields have invalid values (headers or body). Please review the list of invalid fields provided in the response.",
                  "parameters": [
                    {
                      "field": "debit_account.account_name",
                      "desc": "Name must be up to 140 characters and must not contain invalid characters."
                    }
                  ]
                }
              ]
            }
          }
        }
      },
      "401": {
        "description": "Unauthorized"
      },
      "403": {
        "description": "Forbidden",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "example": {
              "errors": [
                {
                  "code": "TRGINIT002",
                  "description": "You are not allowed to use the service because you are not yet onboarded in Maya's system. Please reach out to our partner support team (partner.support@maya.ph) to check your onboarding status."
                }
              ]
            }
          }
        }
      },
      "404": {
        "description": "Not Found",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "example": {
              "errors": [
                {
                  "code": "TRGCONF002",
                  "description": "The fund transfer you are confirming does not exist. Please initiate a fund transfer first."
                }
              ]
            }
          }
        }
      },
      "405": {
        "description": "Method Not Allowed"
      },
      "406": {
        "description": "Not Acceptable"
      },
      "408": {
        "description": "Request Timeout",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "example": {
              "errors": [
                {
                  "code": "TRGCONF004",
                  "description": "The fund transfer you are confirming already reached its confirmation deadline. Please initiate a fund transfer again using a different x-idempotency-key."
                }
              ]
            }
          }
        }
      },
      "409": {
        "description": "Conflict",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "example": {
              "errors": [
                {
                  "code": "TRGINIT006",
                  "description": "The request you are trying to initiate has an existing fund transfer transaction with the same request information. You can inquire the status of the existing transaction using the included ID. Otherwise, you can initiate the same request with a different x-idempotency-key."
                }
              ]
            }
          }
        }
      },
      "415": {
        "description": "Unsupported Media Type"
      },
      "422": {
        "description": "When a validation error occurs while processing the request.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "example": {
              "errors": [
                {
                  "code": "TRGIWDL000",
                  "description": "An unexpected error occurred while processing the fund transfer. Please reach out to our partner support team (partner.support@maya.ph) to assist you in checking and getting more information."
                }
              ]
            }
          }
        }
      },
      "429": {
        "description": "Too Many Requests"
      },
      "500": {
        "description": "When the service encounters a system error.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "example": {
              "errors": [
                {
                  "code": "TRGINIT000",
                  "description": "An unexpected error occurred while processing the fund transfer. You can inquire the status of the fund transfer through our inquiry endpoints. If you need more assistance, please reach out to our partner support team (partner.support@maya.ph) to assist you in checking and getting more information."
                }
              ]
            }
          }
        }
      },
      "503": {
        "description": "When the service encounters an intermittent availability problem. Re-transactions may succeed."
      },
      "504": {
        "description": "When the service encounters any form of timeouts while processing the request."
      }
    },
    "schemas": {
      "InitiateRequest": {
        "description": "The request payload for processing a fund transfer between accounts.",
        "type": "object",
        "properties": {
          "debit_account": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Account"
              }
            ],
            "description": "Details of the source financial account from which funds will be withdrawn. This account will be debited for the principal amount plus any applicable commissions and fees. The system validates that this account belongs to the authenticated user or entity making the API request.",
            "example": {
              "financial_institution_code": "PAPHPHM1XXX",
              "account_number": "041279562523"
            }
          },
          "credit_account": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Account"
              }
            ],
            "description": "Details of the destination financial account to which funds will be transferred. This is the receiver's account where the specified amount will be credited. The account must be valid and active within the specified financial institution.",
            "example": {
              "financial_institution_code": "MBTCPHMMXXX",
              "account_number": "772356410242",
              "account_name": "Maria Reyes"
            }
          },
          "amount": {
            "$ref": "#/components/schemas/Amount"
          },
          "ach_channel": {
            "description": "ACH channel to use (instapay or pesonet). Defaults to instapay for non-Maya institutions.",
            "type": "string",
            "pattern": "[A-Za-z]*",
            "minLength": 7,
            "maxLength": 8,
            "example": "instapay"
          },
          "sender": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Sender"
              }
            ],
            "description": "Details of the sender."
          },
          "receiver": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Receiver"
              }
            ],
            "description": "Details of the receiver."
          },
          "origin_country": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Country"
              }
            ],
            "description": "Country where the transaction originated."
          },
          "transaction_purpose": {
            "description": "Purpose of the transaction.",
            "type": "string",
            "pattern": "[^=%{}<>;]*",
            "minLength": 1,
            "maxLength": 100,
            "example": "Family Support/Allowance"
          },
          "additional_information": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AdditionalInformation"
              },
              {
                "description": "Any additional information that is needed for the transaction to push through. Nested objects are not allowed."
              },
              {
                "example": {
                  "key": "value"
                }
              }
            ]
          }
        },
        "required": [
          "debit_account",
          "credit_account",
          "amount"
        ]
      },
      "TransferResponse": {
        "description": "The result of the fund transfer fulfillment.",
        "type": "object",
        "properties": {
          "data": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ProcessingConfirmResponse"
              }
            ]
          }
        }
      },
      "ProcessingConfirmResponse": {
        "description": "The response payload for a fund transfer between accounts with a status of PROCESSING.",
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "$ref": "#/components/schemas/UUID"
              },
              {
                "description": "Unique identification of the transaction (also known as Transfer ID)."
              }
            ]
          },
          "status": {
            "description": "Current status of the fund transfer transaction. See List of Transaction Status.",
            "type": "string",
            "pattern": "[A-Z]*",
            "minLength": 8,
            "maxLength": 10,
            "example": "PROCESSING"
          },
          "created_timestamp": {
            "allOf": [
              {
                "$ref": "#/components/schemas/DateTime"
              },
              {
                "description": "The exact date and time when the fund transfer transaction was initially created in the system. The value is in UTC timezone."
              }
            ],
            "example": "2025-06-27 09:22:12.212"
          },
          "updated_timestamp": {
            "allOf": [
              {
                "$ref": "#/components/schemas/DateTime"
              },
              {
                "description": "The exact date and time when the fund transfer transaction was last modified or its status was updated. The value is in UTC timezone."
              }
            ],
            "example": "2025-06-27 09:22:46.898"
          },
          "confirmation_deadline": {
            "allOf": [
              {
                "$ref": "#/components/schemas/DateTime"
              },
              {
                "description": "The exact date and time when the fund transfer transaction cannot be confirmed (LAPSED). Initiated transaction is given one (1) hour for it to be confirmed. The value is in UTC timezone."
              }
            ],
            "example": "2025-06-27 10:22:12.212"
          },
          "initiation": {
            "$ref": "#/components/schemas/InitiateRequest"
          },
          "transfer_details": {
            "$ref": "#/components/schemas/TransferDetails"
          }
        }
      },
      "Account": {
        "description": "Comprehensive details of a financial account involved in a fund transfer. Contains all necessary information to identify and validate an account within a specific financial institution.",
        "type": "object",
        "required": [
          "financial_institution_code",
          "account_number"
        ],
        "properties": {
          "financial_institution_code": {
            "description": "A unique code assigned to the financial institution (also known as SWIFT/BIC code). Must be exactly 11 characters in length, structured as follows: bank code (4 alphabetic characters), country code (2 alphabetic characters), location code (2 alphanumeric characters), and branch code (3 alphanumeric characters). For the main branch or when the specific branch code is unknown, use the financial institution's head office code (XXX).",
            "type": "string",
            "pattern": "[A-Z]{6,6}[A-Z2-9][A-NP-Z0-9]([A-Z0-9]{3,3}){0,1}",
            "minLength": 11,
            "maxLength": 11,
            "example": "PAPHPHM1XXX"
          },
          "account_number": {
            "description": "The unique account identifier assigned by the issuing financial institution.",
            "type": "string",
            "pattern": "[^=%{}<>;]*",
            "minLength": 1,
            "maxLength": 34,
            "example": "+639336143939"
          },
          "account_name": {
            "description": "The registered name of the account holder as recorded by the issuing financial institution. This field is mandatory for InstaPay transactions to ensure proper recipient verification and to prevent misdirected transfers.",
            "type": "string",
            "pattern": "[^=%{}<>;]*",
            "maxLength": 140,
            "example": "Maria Reyes"
          }
        }
      },
      "AdditionalInformation": {
        "description": "Additional information. Nested objects are not allowed.",
        "type": "object",
        "format": "flat json",
        "example": {
          "hair_color": "black",
          "eye_color": "brown"
        }
      },
      "Address": {
        "description": "Address details",
        "type": "object",
        "required": [
          "state",
          "zip_code",
          "city",
          "country"
        ],
        "properties": {
          "line1": {
            "description": "Address line 1 (house number, block number, lot number, street name, and suffix)",
            "type": "string",
            "pattern": "[^=%{}<>;]*",
            "minLength": 0,
            "maxLength": 50,
            "example": "Blk 7 Lot 24 Maligaya St."
          },
          "line2": {
            "description": "Address line 2 (apartment, suite, room, or floor numbers)",
            "type": "string",
            "pattern": "[^=%{}<>;]*",
            "minLength": 0,
            "maxLength": 50,
            "example": "6F Launchpad Bldg."
          },
          "locality": {
            "description": "Locality, barangay or suburbs",
            "type": "string",
            "pattern": "[^=%{}<>;]*",
            "minLength": 0,
            "maxLength": 50,
            "example": "Bgry. Nagkaisang Nayon"
          },
          "state": {
            "description": "State or province",
            "type": "string",
            "pattern": "[^=%{}<>;]*",
            "minLength": 1,
            "maxLength": 50,
            "example": "Metro Manila"
          },
          "zip_code": {
            "description": "ZIP code",
            "type": "string",
            "pattern": "(?!0000)[0-9]*",
            "minLength": 4,
            "maxLength": 10,
            "example": "1240"
          },
          "city": {
            "$ref": "#/components/schemas/City"
          },
          "country": {
            "$ref": "#/components/schemas/Country"
          }
        }
      },
      "Amount": {
        "description": "Details of the monetary value to be transferred, including the currency and precise amount. Defines the exact financial value that will be debited from the source account and credited to the destination account.",
        "type": "object",
        "required": [
          "currency",
          "value"
        ],
        "properties": {
          "currency": {
            "$ref": "#/components/schemas/Currency"
          },
          "value": {
            "description": "The precise monetary value to be transferred. For non-Maya transactions, there is a maximum limit of 50,000.00 PHP per transaction. The value must be a positive number with up to two decimal places representing the exact amount in the specified currency.",
            "type": "number",
            "pattern": "[0-9.]*",
            "minimum": 0,
            "maximum": 999999999.99,
            "example": "1000.00"
          }
        }
      },
      "City": {
        "description": "City",
        "type": "string",
        "pattern": "[^=%{}<>;]*",
        "minLength": 1,
        "maxLength": 50,
        "example": "Parañaque City"
      },
      "ContactInformation": {
        "description": "Contact information.",
        "type": "object",
        "required": [
          "type",
          "value"
        ],
        "properties": {
          "type": {
            "description": "Contact information type. Currently only supports `msisdn`.",
            "type": "string",
            "pattern": "[a-zA-Z_]*",
            "minLength": 1,
            "maxLength": 20,
            "example": "msisdn"
          },
          "value": {
            "description": "Contact information value.",
            "type": "string",
            "pattern": "[0-9+]*",
            "minLength": 1,
            "maxLength": 50,
            "example": "+639336143939"
          }
        }
      },
      "Country": {
        "description": "Country in ISO-3166-1 Alpha-2 code.",
        "type": "string",
        "format": "ISO-3166-1 Alpha-2 code",
        "pattern": "[A-Z]{2}",
        "minLength": 2,
        "maxLength": 2,
        "example": "PH"
      },
      "Currency": {
        "description": "The monetary currency code for the transaction following ISO-4217 standard. Currently, the API only supports Philippine Peso (PHP) for all fund transfers.",
        "type": "string",
        "format": "ISO-4217",
        "pattern": "[A-Z]*",
        "minLength": 3,
        "maxLength": 3,
        "example": "PHP"
      },
      "Date": {
        "description": "Date",
        "type": "string",
        "format": "ISO-8601 (yyyy-MM-dd)",
        "minLength": 10,
        "maxLength": 10,
        "example": "2000-01-01"
      },
      "DateTime": {
        "description": "ISO-8601 formatted timestamp representing a specific date and time.",
        "type": "string",
        "format": "ISO-8601 (yyyy-MM-ddThh:mm:ss.SSSZ)",
        "example": "2023-05-31 07:58:46.898"
      },
      "Employment": {
        "description": "Employment details",
        "type": "object",
        "properties": {
          "work_nature": {
            "description": "Nature of work",
            "type": "string",
            "pattern": "[^=%{}<>;]*",
            "minLength": 1,
            "maxLength": 100,
            "example": "IT Companies"
          },
          "additional_work_nature": {
            "description": "Additional nature of work",
            "type": "string",
            "pattern": "[^=%{}<>;]*",
            "minLength": 0,
            "maxLength": 100,
            "example": "E-commerce/Online Business"
          },
          "position_level": {
            "description": "Position Level",
            "type": "string",
            "pattern": "[^=%{}<>;]*",
            "minLength": 0,
            "maxLength": 100,
            "example": "Senior Level/Executive"
          },
          "employer_name": {
            "description": "Name of employer or business",
            "type": "string",
            "pattern": "[^=%{}<>;]*",
            "minLength": 0,
            "maxLength": 100,
            "example": "Maya Philippines Inc."
          }
        }
      },
      "Error": {
        "description": "Comprehensive details about errors encountered during API request processing.",
        "type": "object",
        "properties": {
          "errors": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "code": {
                  "description": "Standardized error code that uniquely identifies the specific error condition. Refer to the List of Error Codes in the API description for detailed information about each error code and its meaning.",
                  "type": "string",
                  "minLength": 10,
                  "maxLength": 10,
                  "example": "TRGINIT000"
                },
                "description": {
                  "description": "Human-readable explanation of the error encountered. Provides a clear description of what went wrong and, when applicable, suggests potential solutions or next steps to resolve the issue.",
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 255,
                  "example": "One or more fields have invalid values."
                },
                "parameters": {
                  "description": "Detailed information about the specific fields or parameters that caused or were affected by the error. Helps pinpoint exactly which parts of the request need to be corrected.",
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErrorField"
                  }
                }
              },
              "required": [
                "code",
                "description"
              ]
            }
          }
        },
        "required": [
          "errors"
        ]
      },
      "ErrorField": {
        "description": "Specific details about individual fields that caused or were affected by an error. Identifies the exact field path and provides a descriptive explanation of the validation issue or problem encountered with that field.",
        "type": "object",
        "properties": {
          "field": {
            "description": "The specific JSON path to the field that encountered a validation or processing error. Uses dot notation to indicate nested fields (e.g., 'debit_account.account_name').",
            "type": "string",
            "example": [
              "debit_account.account_name"
            ]
          },
          "desc": {
            "description": "Detailed explanation of why the specific field encountered an error. Provides clear guidance on the validation rules or requirements that were not met and how to correct the issue.",
            "type": "string",
            "example": [
              "Name must be up to 140 characters and must not contain invalid characters."
            ]
          }
        }
      },
      "Gender": {
        "description": "Gender",
        "type": "string",
        "pattern": "F|M",
        "minLength": 1,
        "maxLength": 1
      },
      "Identification": {
        "description": "Legal identification details.",
        "type": "object",
        "required": [
          "type",
          "number"
        ],
        "properties": {
          "type": {
            "description": "Legal identification type",
            "type": "string",
            "pattern": "[^=%{}<>;]*",
            "minLength": 1,
            "maxLength": 150,
            "example": "Passport"
          },
          "number": {
            "description": "Legal identification number",
            "type": "string",
            "pattern": "[^=%{}<>;]*",
            "minLength": 1,
            "maxLength": 50,
            "example": "110-230-987-000"
          },
          "issue_country": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Country"
              },
              {
                "description": "Legal identification's issuing country"
              }
            ]
          },
          "issue_date": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Date"
              },
              {
                "description": "Legal identification's issuing date"
              },
              {
                "format": "ISO-8601 (yyyy-MM-dd) [past date]"
              },
              {
                "example": "2020-01-01"
              }
            ]
          },
          "expiry_date": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Date"
              },
              {
                "description": "Legal identification's expiration date"
              },
              {
                "format": "ISO-8601 (yyyy-MM-dd) [future date]"
              },
              {
                "example": "2030-01-01"
              }
            ]
          }
        }
      },
      "Name": {
        "description": "Name details",
        "type": "object",
        "required": [
          "first_name",
          "last_name"
        ],
        "properties": {
          "first_name": {
            "description": "First name",
            "type": "string",
            "pattern": "[a-zA-ZÑñ.\\-' ]*",
            "minLength": 1,
            "maxLength": 50,
            "example": "Maria"
          },
          "middle_name": {
            "description": "Middle name",
            "type": "string",
            "pattern": "[a-zA-ZÑñ.\\-' ]*",
            "minLength": 0,
            "maxLength": 50,
            "example": "Reyes"
          },
          "last_name": {
            "description": "Last name",
            "type": "string",
            "pattern": "[a-zA-ZÑñ.\\-' ]*",
            "minLength": 1,
            "maxLength": 50,
            "example": "Reyes"
          }
        }
      },
      "Place": {
        "description": "Place details",
        "type": "object",
        "required": [
          "city",
          "country"
        ],
        "properties": {
          "city": {
            "$ref": "#/components/schemas/City"
          },
          "country": {
            "$ref": "#/components/schemas/Country"
          }
        }
      },
      "Receiver": {
        "description": "KYC information of the receiver.",
        "type": "object",
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Name"
              },
              {
                "description": "Receiver's name."
              }
            ]
          },
          "contact_information": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ContactInformation"
              },
              {
                "description": "Receiver's contact information."
              }
            ]
          },
          "nationality": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Country"
              },
              {
                "description": "Receiver's nationality."
              }
            ]
          },
          "gender": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Gender"
              },
              {
                "description": "Receiver's gender."
              },
              {
                "example": "F"
              }
            ]
          },
          "birth_date": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Date"
              },
              {
                "description": "Receiver's date of birth."
              }
            ]
          },
          "birth_place": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Place"
              },
              {
                "description": "Receiver's place of birth."
              }
            ]
          },
          "present_address": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Address"
              }
            ],
            "description": "Receiver's present address."
          },
          "permanent_address": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Address"
              },
              {
                "description": "Receiver's permanent address."
              }
            ]
          },
          "income_source": {
            "description": "Receiver's source of income.",
            "type": "string",
            "pattern": "[^=%{}<>;]*",
            "minLength": 0,
            "maxLength": 50,
            "example": "Salary"
          },
          "additional_income_source": {
            "description": "Receiver's additional source of income.",
            "type": "string",
            "pattern": "[^=%{}<>;]*",
            "minLength": 0,
            "maxLength": 50,
            "example": "Inheritance"
          },
          "identification": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Identification"
              },
              {
                "description": "Receiver's legal identification."
              }
            ]
          },
          "employment": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Employment"
              },
              {
                "description": "Receiver's employment information."
              }
            ]
          },
          "additional_information": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AdditionalInformation"
              },
              {
                "description": "Any additional information that is needed for the transaction to push through. Nested objects are not allowed."
              }
            ]
          }
        }
      },
      "Sender": {
        "description": "KYC information of the sender.",
        "type": "object",
        "required": [
          "name",
          "nationality",
          "birth_date",
          "present_address",
          "income_source",
          "identification"
        ],
        "properties": {
          "name": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Name"
              },
              {
                "description": "Sender's name."
              },
              {
                "example": {
                  "first_name": "Juan",
                  "middle_name": "Dela",
                  "last_name": "Cruz"
                }
              }
            ]
          },
          "contact_information": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ContactInformation"
              },
              {
                "description": "Sender's contact information."
              },
              {
                "example": {
                  "type": "msisdn",
                  "value": "+639498187453"
                }
              }
            ]
          },
          "nationality": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Country"
              },
              {
                "description": "Sender's nationality."
              }
            ]
          },
          "gender": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Gender"
              },
              {
                "description": "Sender's gender."
              },
              {
                "example": "M"
              }
            ]
          },
          "birth_date": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Date"
              },
              {
                "description": "Sender's date of birth."
              }
            ]
          },
          "birth_place": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Place"
              },
              {
                "description": "Sender's place of birth."
              }
            ]
          },
          "present_address": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Address"
              },
              {
                "description": "Sender's present address."
              }
            ]
          },
          "permanent_address": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Address"
              },
              {
                "description": "Sender's permanent address."
              }
            ]
          },
          "income_source": {
            "description": "Sender's source of income.",
            "type": "string",
            "pattern": "[^=%{}<>;]*",
            "minLength": 0,
            "maxLength": 50,
            "example": "Salary"
          },
          "additional_income_source": {
            "description": "Sender's additional source of income.",
            "type": "string",
            "pattern": "[^=%{}<>;]*",
            "minLength": 0,
            "maxLength": 50,
            "example": "Inheritance"
          },
          "identification": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Identification"
              },
              {
                "description": "Sender's legal identification."
              }
            ]
          },
          "employment": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Employment"
              },
              {
                "description": "Sender's employment information."
              }
            ]
          },
          "relationship_to_receiver": {
            "description": "Sender's relationship to the receiver.",
            "type": "string",
            "pattern": "[^=%{}<>;]*",
            "minLength": 1,
            "maxLength": 100,
            "example": "Father"
          },
          "additional_information": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AdditionalInformation"
              },
              {
                "description": "Any additional information that is needed for the transaction to push through. Nested objects are not allowed."
              }
            ]
          }
        }
      },
      "TransferDetails": {
        "description": "Detailed financial information about the fund transfer transaction, including breakdown of amounts, fees, and updated account balances.",
        "type": "object",
        "required": [
          "gross_amount",
          "principal_amount",
          "fee"
        ],
        "properties": {
          "gross_amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Amount"
              },
              {
                "description": "The overall amount to be deducted from the source account (principal + fee)."
              },
              {
                "example": {
                  "currency": "PHP",
                  "value": 1007
                }
              }
            ]
          },
          "principal_amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Amount"
              },
              {
                "description": "The transaction amount of the fund transfer."
              },
              {
                "example": {
                  "currency": "PHP",
                  "value": 1000
                }
              }
            ]
          },
          "fee": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Amount"
              },
              {
                "description": "The service charged by Maya from the source account for the fund transfer."
              },
              {
                "example": {
                  "currency": "PHP",
                  "value": 7
                }
              }
            ]
          }
        }
      },
      "UUID": {
        "description": "A universally unique identifier (UUID) following RFC4122 standard.",
        "type": "string",
        "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
        "minLength": 36,
        "maxLength": 36,
        "example": "c36d9958-9c55-49e3-b70e-702b082046c0"
      }
    },
    "examples": {
      "ProcessingTransferResponse": {
        "value": {
          "data": {
            "id": "c36d9958-9c55-49e3-b70e-702b082046c0",
            "status": "PROCESSING",
            "created_timestamp": "2025-06-27 09:22:12.212",
            "updated_timestamp": "2025-06-27 09:22:46.898",
            "confirmation_deadline": "2025-06-27 10:22:12.212",
            "initiation": {
              "debit_account": {
                "financial_institution_code": "PAPHPHM1XXX",
                "account_number": "041279562523"
              },
              "credit_account": {
                "financial_institution_code": "MBTCPHMMXXX",
                "account_number": "772356410242",
                "account_name": "Maria Reyes"
              },
              "amount": {
                "currency": "PHP",
                "value": 1000
              }
            },
            "transfer_details": {
              "gross_amount": {
                "currency": "PHP",
                "value": 1007
              },
              "principal_amount": {
                "currency": "PHP",
                "value": 1000
              },
              "fee": {
                "currency": "PHP",
                "value": 7
              }
            }
          }
        }
      },
      "ApprovedTransferResponse": {
        "value": {
          "data": {
            "id": "c36d9958-9c55-49e3-b70e-702b082046c0",
            "status": "APPROVED",
            "created_timestamp": "2025-06-27 09:22:12.212",
            "updated_timestamp": "2025-06-27 09:22:46.898",
            "confirmation_deadline": "2025-06-27 10:22:12.212",
            "initiation": {
              "debit_account": {
                "financial_institution_code": "PAPHPHM1XXX",
                "account_number": "041279562523"
              },
              "credit_account": {
                "financial_institution_code": "MBTCPHMMXXX",
                "account_number": "772356410242",
                "account_name": "Maria Reyes"
              },
              "amount": {
                "currency": "PHP",
                "value": 1000
              }
            },
            "transfer_details": {
              "gross_amount": {
                "currency": "PHP",
                "value": 1007
              },
              "principal_amount": {
                "currency": "PHP",
                "value": 1000
              },
              "fee": {
                "currency": "PHP",
                "value": 7
              },
              "debit_account": {
                "ending_balance": {
                  "available_balance": {
                    "currency": "PHP",
                    "value": 5000
                  },
                  "current_balance": {
                    "currency": "PHP",
                    "value": 5000
                  }
                }
              }
            }
          }
        }
      },
      "DeclinedTransferResponse": {
        "value": {
          "data": {
            "id": "c36d9958-9c55-49e3-b70e-702b082046c0",
            "status": "DECLINED",
            "decline_reason": {
              "code": "TRGCWDLA03",
              "description": "The transaction amount limit was exceeded for one of the accounts."
            },
            "created_timestamp": "2025-06-27 09:22:12.212",
            "updated_timestamp": "2025-06-27 09:22:46.898",
            "confirmation_deadline": "2025-06-27 10:22:12.212",
            "initiation": {
              "debit_account": {
                "financial_institution_code": "PAPHPHM1XXX",
                "account_number": "041279562523"
              },
              "credit_account": {
                "financial_institution_code": "MBTCPHMMXXX",
                "account_number": "772356410242",
                "account_name": "Maria Reyes"
              },
              "amount": {
                "currency": "PHP",
                "value": 1000
              }
            },
            "transfer_details": {
              "gross_amount": {
                "currency": "PHP",
                "value": 1007
              },
              "principal_amount": {
                "currency": "PHP",
                "value": 1000
              },
              "fee": {
                "currency": "PHP",
                "value": 7
              },
              "debit_account": {
                "ending_balance": {
                  "available_balance": {
                    "currency": "PHP",
                    "value": 500
                  },
                  "current_balance": {
                    "currency": "PHP",
                    "value": 500
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
````