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.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/coinsph-refund-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
openapi: 3.2.0
info:
title: Payment Refund API
description: 'Coins.ph Partner Integration API v2.7
## Authentication
All requests must include the following headers:
- `X-COINS-APIKEY`: Your API key
- `Timestamp`: Unix timestamp of the request
- `Signature`: HMAC-SHA256 signature of the request
Requests and webhook payloads must be signed using HMAC-SHA256 with the API secret.
## Environments
- **Sandbox**: `https://api.9001.pl-qa.coinsxyz.me`
- **Production**: `https://api.pro.coins.ph`'
version: '2.7'
contact:
name: Coins.ph Tech Ops
email: tech_ops@coins.ph
servers:
- url: https://api.pro.coins.ph
description: Production
- url: https://api.9001.pl-qa.coinsxyz.me
description: Sandbox
security:
- ApiKeyAuth: []
TimestampAuth: []
SignatureAuth: []
tags:
- name: Refund
description: Refund operations
paths:
/openapi/fiat/v1/refund/pay-in-refund:
post:
tags:
- Refund
summary: Cash-in Refund
description: Initiate a refund for a cash-in transaction (only QRPH refund is supported).
operationId: cashInRefund
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CashInRefundRequest'
responses:
'200':
description: Successful response
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/FiatBaseResponse'
- type: object
properties:
data:
type: object
properties:
requestId:
type: string
description: Merchant refund request ID.
originalOrderId:
type: string
description: Original order ID.
referenceId:
type: string
description: Coins-generated reference ID.
refundAmount:
type: string
description: Refund amount.
refundCurrency:
type: string
description: Refund currency.
parameters:
- name: recvWindow
in: query
required: false
schema:
type: integer
format: int64
description: Validity duration of the request in milliseconds after the timestamp.
/openapi/fiat/refund/account:
get:
tags:
- Refund
summary: Get Payer Account
description: Retrieve payer account information for a specific reference ID.
operationId: getPayerAccount
parameters:
- name: referenceId
in: query
required: true
schema:
type: string
description: Reference ID for the transaction.
- name: recvWindow
in: query
required: false
schema:
type: integer
format: int64
description: Validity duration of the request in milliseconds after the timestamp.
responses:
'200':
description: Successful response
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/FiatBaseResponse'
- type: object
properties:
data:
type: object
properties:
requestId:
type: string
referenceId:
type: string
senderAccountName:
type: string
senderAccountNumber:
type: string
senderChannel:
type: string
senderSubject:
type: string
components:
schemas:
FiatBaseResponse:
type: object
properties:
status:
type: integer
description: 0 = success, non-zero = error code
example: 0
error:
type: string
example: OK
params:
type:
- object
- 'null'
CashInRefundRequest:
type: object
required:
- requestId
- originalOrderId
- amount
- currency
- reason
- method
properties:
requestId:
type: string
minLength: 10
maxLength: 60
originalOrderId:
type: string
maxLength: 64
amount:
type: string
maxLength: 64
currency:
type: string
example: PHP
reason:
type: string
maxLength: 200
method:
type: string
enum:
- '1'
- '2'
description: 1 = original route, 2 = manual input
receiveAccount:
$ref: '#/components/schemas/ReceiveAccount'
ReceiveAccount:
type: object
required:
- tfrAcctNo
- tfrName
- receiveChannel
- receiveSubject
properties:
tfrAcctNo:
type: string
maxLength: 64
description: Recipient account number without spaces.
tfrName:
type: string
maxLength: 64
description: Recipient account name.
receiveChannel:
type: string
maxLength: 64
description: Payment channel (e.g., INSTAPAY, GCASH)
receiveSubject:
type: string
maxLength: 64
description: Payment provider/bank name.
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: X-COINS-APIKEY
description: API key provided by Coins.ph
TimestampAuth:
type: apiKey
in: header
name: Timestamp
description: Unix timestamp of the request
SignatureAuth:
type: apiKey
in: header
name: Signature
description: HMAC-SHA256 signature of the request
x-readme:
proxy-enabled: false
samples-languages:
- java
- python
- php
- ruby