Xfers Modify Payments API

The Modify Payments API from Xfers — 1 operation(s) for modify payments.

Operations 1

PUT /v3/payment_gateway/payments/{id} Action list

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/xfers-modify-payments-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

xfers-modify-payments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Welcome to Xfers' API documentation. You can find information on our API endpoint specific to your country.
  version: '3'
  title: Xfers Bank Account Modify Payments API
  contact:
    name: Contact us through our help desk
    url: https://bit.ly/XfersSupport
servers:
- description: Indonesia Production
  url: https://id.xfers.com/api
- description: Indonesia Sandbox for testing
  url: https://sandbox-id.xfers.com/api
tags:
- name: Modify Payments
paths:
  /v3/payment_gateway/payments/{id}:
    put:
      tags:
      - Modify Payments
      summary: Action list
      description: 'List of actions to modify a given payment ID:

        1.  **cancel** : Cancel a payment when it is still in pending state. Status will be changed to ''cancelled''. (Unique Amount only)

        2.  **receive_payment** : Simulate Xfers receiving payment from the customer for a given contract id. Status will be changed to ''paid''. (Unique Amount and Sandbox only)

        3.  **settle** : Simulate Xfers disbursing payment to the destination account. Status will be changed to ''completed''. (Sandbox only)'
      security:
      - X-XFERS-APP-API-KEY: []
      parameters:
      - name: id
        in: path
        description: Transaction id in Xfers
        required: true
        schema:
          type: string
          example: contract_7abf6bb130d44c02862982ff6022875d
      requestBody:
        required: true
        content:
          application/json:
            schema:
              properties:
                event:
                  description: Event name
                  type: string
                  example: cancel
                  enum:
                  - cancel
                  - receive_payment
                  - settle
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/base_class/payment/schemas/BaseObject'
                - properties:
                    payment_method:
                      $ref: '#/base_class/payment_method/schemas/UniqueAmountBankTransfer'
              examples:
                cancel:
                  $ref: '#/base_class/payment/examples/payment_response/cancelled'
                receive_payment:
                  $ref: '#/base_class/payment/examples/payment_response/paid'
                settle:
                  $ref: '#/base_class/payment/examples/payment_response/completed'
components:
  securitySchemes:
    X-XFERS-USER-API-KEY:
      type: apiKey
      name: X-XFERS-USER-API-KEY
      in: header
      description: You can retrieve this by using [get_token API](../sg/api/cutting-edge#operation/getToken)
externalDocs:
  description: Find out more about Xfers
  url: https://id.xfers.com
x-tagGroups:
- name: User Management
  tags:
  - Registration
  - User Account
  - Bank Account
  - E-signature
- name: Payments
  tags:
  - Charge
  - Payout
  - Withdraw
  - Intents
- name: Loans
  tags:
  - Loans
  - Disbursements
  - Repayments
- name: Appendix
  tags:
  - Testing
  - Error Response
  - Pagination
  - Callback Configuration
  - Try it out with Postman