Skip to main content
POST
Create Payment

Headers

X-Platform-ID
string<uuid>
required

Unique platform identifier (UUID). You receive this during onboarding. Must be sent with every API request.

X-Signature
string
required

HMAC-SHA256 request signature for authentication. Use your platform secret key to compute it as: METHOD + PATH + QUERY + BODY_HASH.

Body

application/json
user_id
string<uuid>
required

Unique identifier (UUID) of the user initiating the payment.

Example:

"f47ac10b-****-****-****-0e02b2c3d479"

payee_id
string<uuid>
required

Unique identifier (UUID) of the recipient receiving the funds.

Example:

"f47ac10b-****-****-****-0e02b2c3d479"

amount
number
required

Amount to be paid

payment_method
enum<string>
required

Payment source selected by the payer (e.g., WALLET, CARD).

Available options:
WALLET,
CARD,
PW_BANK
invoice_no
string
required

Invoice or transaction reference number for tracking and record-keeping purposes.

Maximum string length: 20
Example:

"INV-2024-001234"

receiving_method
enum<string>
required

Destination for the received funds (e.g., WALLET, CARD, ACH, PW_BANK, RTP, FEDNOW).

Available options:
WALLET,
CARD,
ACH,
PW_BANK,
RTP,
FEDNOW
card_id
string<uuid> | null

UUID of the payer’s card to be charged (required if using CARD as the payment method).

Example:

"f47ac10b-****-****-****-0e02b2c3d479"

bank_id
string<uuid> | null

UUID of the payer's source bank account to be debited when using ACH or PW_BANK.

Example:

"f47ac10b-****-****-****-0e02b2c3d479"

description
string | null

Optional short note or description for the payment (e.g., invoice reference, service details).

Maximum string length: 255
payment_descriptor
string | null

Description to be shown in the statement. (Only available for RTP now)

Maximum string length: 50
payee_card_id
string<uuid> | null

UUID of the payee’s card to receive funds (required if receiving to CARD).

Example:

"f47ac10b-****-****-****-0e02b2c3d479"

payee_bank_id
string<uuid> | null

UUID of the payee’s bank account to receive funds (required if receiving to ACH).

Example:

"f47ac10b-****-****-****-0e02b2c3d479"

to_pw_bank_id
string<uuid> | null

UUID of the payee's Paywint bank account to receive funds when receiving to PW_BANK.

Example:

"f47ac10b-****-****-****-0e02b2c3d479"

payment_for
enum<string>
default:payment

Indicates whether the payment is for a standard payment or subscription.

Available options:
payment,
subscription
Example:

"payment"

Response

Successful Response

success
boolean
default:true

Indicates whether the request was processed successfully.

Example:

true

message
string
default:Success

A short, human-readable message describing the result of the request.

Example:

"Operation completed."

data
PlatformPaymentRead · object | null

The main response payload, if applicable

queryGeneratedTime
number | null
default:1783679844.273462

The Unix timestamp (in seconds) indicating when the response was generated.

Example:

1718006400