PinkWallet Payment Links API

The Payment Links API from PinkWallet — 3 operation(s) for payment links.

GitHub OpenAPI

Operations 4

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/pinkwallet-com:pinkwallet-com-payment-links-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

pinkwallet-com-payment-links-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PinkWallet Payment Links API
  version: '2026-07-11'
  summary: Payments, multi-currency accounts, and conversion over a clean REST API.
  description: Programmatic access to the same rails that power the PinkWallet app. All amounts are decimal strings; all timestamps are ISO-8601 in UTC. Responses are normalised by the PinkWallet Orchestration Layer and never expose an underlying banking or liquidity provider.
  contact:
    name: PinkWallet Developer Support
    url: https://api.pinkwallet.com
servers:
- url: https://api.pinkwallet.com/v1
  description: Production
- url: https://api.pinkwallet.com/sandbox/v1
  description: Sandbox (pk_test_ keys)
security:
- bearerAuth: []
tags:
- name: Payment Links
paths:
  /payment_links:
    post:
      tags:
      - Payment Links
      operationId: createPaymentLink
      summary: Create a payment link
      description: Generate a shareable link that collects a USDT or USDC payment on-chain.
      parameters:
      - $ref: '#/components/parameters/IdempotencyKey'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PaymentLinkCreate'
      responses:
        '200':
          description: The created payment link.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentLink'
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Error'
    get:
      tags:
      - Payment Links
      operationId: listPaymentLinks
      summary: List payment links
      parameters:
      - $ref: '#/components/parameters/Limit'
      - $ref: '#/components/parameters/StartingAfter'
      - name: status
        in: query
        schema:
          type: string
          enum:
          - pending
          - paid
          - expired
          - cancelled
      responses:
        '200':
          description: A paginated list of payment links.
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/List'
                - properties:
                    data:
                      type: array
                      items:
                        $ref: '#/components/schemas/PaymentLink'
  /payment_links/{id}:
    get:
      tags:
      - Payment Links
      operationId: retrievePaymentLink
      summary: Retrieve a payment link
      parameters:
      - $ref: '#/components/parameters/PathId'
      responses:
        '200':
          description: The payment link.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentLink'
        '404':
          $ref: '#/components/responses/Error'
  /payment_links/{id}/cancel:
    post:
      tags:
      - Payment Links
      operationId: cancelPaymentLink
      summary: Cancel a payment link
      parameters:
      - $ref: '#/components/parameters/PathId'
      responses:
        '200':
          description: The cancelled payment link.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentLink'
        '402':
          $ref: '#/components/responses/Error'
components:
  schemas:
    PaymentLinkCreate:
      type: object
      required:
      - amount
      - asset
      properties:
        amount:
          $ref: '#/components/schemas/Amount'
        asset:
          type: string
          enum:
          - USDT
          - USDC
        reference:
          type: string
          maxLength: 128
        expires_in:
          type: integer
          default: 3600
        metadata:
          type: object
          additionalProperties:
            type: string
    List:
      type: object
      properties:
        object:
          type: string
          const: list
        has_more:
          type: boolean
        data:
          type: array
          items: {}
    Amount:
      type: string
      description: A decimal amount as a string, e.g. "250.00".
      example: '250.00'
    PaymentLink:
      type: object
      properties:
        id:
          type: string
        object:
          type: string
          const: payment_link
        status:
          type: string
          enum:
          - pending
          - paid
          - expired
          - cancelled
        amount:
          $ref: '#/components/schemas/Amount'
        asset:
          type: string
        url:
          type: string
          format: uri
        address:
          type: string
        reference:
          type: string
        tx_hash:
          type: string
        expires_at:
          type: string
          format: date-time
        paid_at:
          type: string
          format: date-time
        created_at:
          type: string
          format: date-time
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            type:
              type: string
            code:
              type: string
            message:
              type: string
            param:
              type: string
            request_id:
              type: string
  parameters:
    Limit:
      name: limit
      in: query
      schema:
        type: integer
        minimum: 1
        maximum: 100
        default: 25
    PathId:
      name: id
      in: path
      required: true
      schema:
        type: string
    IdempotencyKey:
      name: Idempotency-Key
      in: header
      schema:
        type: string
      description: A unique key to make this write safely retryable for 24 hours.
    StartingAfter:
      name: starting_after
      in: query
      schema:
        type: string
      description: A resource id; returns the page after it.
  responses:
    Error:
      description: Error response.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: pk_live_ / pk_test_
      description: Pass your secret API key as a bearer token. Write operations are additionally HMAC-signed via X-PW-Signature.