> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rial.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Get a link where a person saves the card agents will charge

> A link where a person saves the card agents charge. The monthly cap you ask for is printed on that page; nothing changes until they finish.



## OpenAPI

````yaml /api-reference/openapi.json post /v1/me/credits/payment-method
openapi: 3.1.0
info:
  title: rial API
  version: 0.1.0
  description: 'Prove a photo is real. Base URL: https://api.rial.io'
  contact:
    name: rial-platform team
    url: https://github.com/Rial-ventures-Inc/rial-platform
  license:
    name: UNLICENSED — proprietary, internal use only
servers:
  - url: https://api.rial.io
    description: Production
security: []
tags:
  - name: Verifications
    description: >-
      Create, fetch, list, and finalize verifications. The core of the API —
      every tenant integration starts here.
  - name: Templates
    description: >-
      Publish, update, revoke and inspect link templates — the reusable capture
      links behind `/l/{token}` (a compact JWT carrying the org and template
      slugs; the legacy `/l/{org}/{slug}` keeps resolving). Callable with a
      secret key; each publish snapshots a versioned capture spec (GET-83).
  - name: Databases
    description: >-
      Create, update, inspect and synchronize tenant-scoped databases used by
      reusable verification templates. Callable with a dashboard session or
      secret API key.
  - name: Credits
    description: >-
      Prepaid photo credits at US$0.20 a photo, bought in packs by an agent with
      the card a person saved, under a monthly spend cap. While credits remain,
      Pro features are on. Callable with a dashboard session or secret API key.
paths:
  /v1/me/credits/payment-method:
    post:
      tags:
        - Credits
      summary: Get a link where a person saves the card agents will charge
      description: >-
        A link where a person saves the card agents charge. The monthly cap you
        ask for is printed on that page; nothing changes until they finish.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                monthly_cap_cents:
                  type: integer
                  minimum: 1000
                  maximum: 1000000
              required:
                - monthly_cap_cents
              additionalProperties: false
      responses:
        '200':
          description: >-
            Stripe page, valid for an hour. The card and the monthly cap apply
            once the person completes it.
          content:
            application/json:
              schema:
                type: object
                properties:
                  url:
                    type: string
                    format: uri
                  expires_at:
                    type: string
                required:
                  - url
                  - expires_at
        '400':
          description: '`monthly_cap_cents` is outside 1000–1000000.'
        '401':
          description: The session or secret API key is invalid.
        '403':
          description: A person needs billing rights; a secret API key always may.
        '503':
          description: Payments unavailable.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      decline_code:
                        type: string
                      month_spent_cents:
                        type: integer
                      monthly_cap_cents:
                        type: integer
                      idempotency_key:
                        type: string
                    required:
                      - code
                      - message
                required:
                  - error
      security:
        - bearerApiKey: []
components:
  securitySchemes:
    bearerApiKey:
      type: http
      scheme: bearer
      bearerFormat: rk_secret_<key>
      description: >-
        Secret API key, created in the dashboard under Settings → API. Send it
        as `Authorization: Bearer rk_secret_…` from your server only.
        Publishable keys (`pk_live_…`) are for the native SDKs and reach the
        capture endpoints alone. An unknown key returns 401.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.