Payments

Create a payment

Create a payment initiated by the platform on behalf of a buyer.

Related webhooks:

  • payment_captured: sent when the payment funds are captured and secured.
  • payment_failed: sent when a payment fails due to business (decline) or technical issues.
post/v2/payments

Request

Headers

Getpaid-Idempotency-Keystring required
Example:5c255194-30ec-11ed-a261-0242ac120002

A unique idempotency key to allow safe retrying. See Getpaid API idempotency for more details.

Request body

referencestring required

An identifier in your system. It is recommended to make it unique but the uniqueness is not enforced by the solution.

amountinteger required

The payment amount in the minor currency unit (e.g. 100 cents for 1 EUR).

currencystring currency required

The processing currency code according to the ISO-4217 standard

Example request

{
  "reference": "ORD-202510-0232",
  "amount": 1000,
  "currency": "EUR",
  "method": {
    "dynamic_descriptor": "TITAN*202510-0232"
  },
  "splits": {
    "accounts": [
      {
        "id": "acc_44678r08jtm8zbt227tzhc4nw5",
        "split": {
          "amount": 1000
        },
        "processing_fee": {
          "percentage": 100
        }
      }
    ]
  },
  "standing_instruction": {
    "id": "sti_4tbftjwzxja1h71nzas1g0g1xm"
  },
  "webhooks": {
    "url": "https://webhooks.titanauto.com/getpaid"
  }
}

Response

Created

idstring id required

The unique identifier of the payment.

status'initiated' | 'action_required' | 'submitted' | 'authorized' | 'captured' | 'declined' | 'failed' | 'partially_refunded' | 'refunded' required

The status of the payment. See the list, transitions, and description of each status for more details.

referencestring required

An identifier in your system. It is recommended to make it unique but the uniqueness is not enforced by the solution.

created_atstring date-time required

UTC timestamp in ISO 8601 format with milliseconds (RFC 3339). Always includes the 'Z' UTC indicator.

updated_atstring date-time required

UTC timestamp in ISO 8601 format with milliseconds (RFC 3339). Always includes the 'Z' UTC indicator.

statement_descriptorstring

The final statement descriptor shown on the buyer statement.

This value is calculated per payment method:

  • Cards: dynamic_descriptor with the GPD* prefix.
  • SEPA Direct Debit: remittance_info.

Example response

{
  "id": "pay_4a4m2pjycdb1jbj68h1rvk9kcz",
  "reference": "ORD-202510-0232",
  "created_at": "2025-09-01T22:05:48.479Z",
  "updated_at": "2025-09-01T22:05:48.479Z",
  "statement_descriptor": "GPD*TITAN*202510-0232",
  "method": {
    "dynamic_descriptor": "TITAN*202510-0232",
    "card": {
      "holder_name": "Jane Doe",
      "first_digits": "424242",
      "last_digits": "4242",
      "expiry_month": 12,
      "expiry_year": 2025,
      "kind": "credit",
      "segment": "consumer"
    }
  },
  "splits": {
    "accounts": [
      {
        "id": "acc_44678r08jtm8zbt227tzhc4nw5",
        "version": "2",
        "split": {
          "amount": 1000
        },
        "processing_fee": {
          "percentage": 100,
          "amount": 1000
        }
      }
    ]
  },
  "totals": {
    "net": 1000,
    "captured": 1000,
    "refunded": 1000,
    "refundable": 1000,
    "processing_fees": 1000,
    "accounts": [
      {
        "id": "acc_44678r08jtm8zbt227tzhc4nw5",
        "version": "2",
        "net": 1000,
        "captured": 1000,
        "refunded": 1000,
        "refundable": 1000,
        "processing_fees": 1000
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.