---
updatedAt: 2026-08-03T10:03:34.000Z
agentTools:
  projectIndex: https://ramp-docs.transfi.com/llms.txt
---

# All Payment Methods

This API to get all supported payment methods for On Ramp in specific currency.

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "x-stoplight": {
    "id": "vky6z3855u5xo"
  },
  "info": {
    "title": "TransFi Integrated API",
    "version": "1.0",
    "description": "Access state of the art crypto payment rails easily using TransFi's API",
    "contact": {
      "name": "Transfi Developer Support",
      "url": "https://transfi.com",
      "email": "support@transfi.com"
    },
    "license": {
      "url": "https://transfi.com",
      "name": "Proprietory"
    }
  },
  "servers": [
    {
      "url": "https://sandbox-api.transfi.com",
      "description": "Sandbox Server"
    }
  ],
  "paths": {
    "/buy/paymentMethods": {
      "get": {
        "summary": "All Payment Methods",
        "tags": [
          "Onramp"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "paymentMethods": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "currencies": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "paymentCode": {
                            "type": "string"
                          },
                          "paymentType": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "logo": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  },
                  "x-examples": {
                    "Example 1": {
                      "paymentMethods": [
                        {
                          "currencies": [
                            "ZMW",
                            "UGX",
                            "KES",
                            "GHS"
                          ],
                          "paymentCode": "airtel",
                          "paymentType": "local_wallet",
                          "name": "Airtel",
                          "logo": "https://common-payment-methods-logo.s3.ap-southeast-1.amazonaws.com/airtel.svg"
                        },
                        {
                          "currencies": [
                            "MYR"
                          ],
                          "paymentCode": "ambank_my",
                          "paymentType": "bank_transfer",
                          "name": "Ambank",
                          "logo": "https://common-payment-methods-logo.s3.ap-southeast-1.amazonaws.com/bank_transfer.svg"
                        }
                      ]
                    }
                  }
                },
                "examples": {
                  "Example 1": {
                    "value": {
                      "paymentMethods": [
                        {
                          "currencies": [
                            "ZMW",
                            "UGX",
                            "KES",
                            "GHS"
                          ],
                          "paymentCode": "airtel",
                          "paymentType": "local_wallet",
                          "name": "Airtel",
                          "logo": "https://common-payment-methods-logo.s3.ap-southeast-1.amazonaws.com/airtel.svg"
                        },
                        {
                          "currencies": [
                            "MYR"
                          ],
                          "paymentCode": "ambank_my",
                          "paymentType": "bank_transfer",
                          "name": "Ambank",
                          "logo": "https://common-payment-methods-logo.s3.ap-southeast-1.amazonaws.com/bank_transfer.svg"
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "boolean"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "message": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "x-examples": {
                    "Example 1": {
                      "status": false,
                      "data": {
                        "message": "Invalid merchant_id or merchant_secret provided",
                        "code": "UNAUTHORIZED_CUSTOMER"
                      }
                    }
                  }
                },
                "examples": {
                  "Example 1": {
                    "value": {
                      "status": false,
                      "data": {
                        "message": "Invalid merchant_id or merchant_secret provided",
                        "code": "UNAUTHORIZED_CUSTOMER"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "get-buy-payment-methods",
        "x-stoplight": {
          "id": "0iwykdb4u008j"
        },
        "description": "This API to get all supported payment methods for On Ramp in specific currency.",
        "parameters": []
      },
      "parameters": []
    }
  },
  "components": {
    "securitySchemes": {
      "basicAuth": {
        "type": "http",
        "scheme": "basic",
        "description": ""
      }
    }
  },
  "security": [
    {
      "basicAuth": []
    }
  ],
  "x-internal": false
}
```