Setup Payment

Paypal Pay

Paypal Pay

post/api/cp/setup/payment/paypal

Request body

idinteger

Id

account_idinteger

Account Id (references account.id)

payment_timestring date-time required

Payment Time

descstring required

Desc

amountnumber required

Amount

payment_idstring

Payment Id

charge_idstring

Charge Id

xero_invoice_idstring

Xero Invoice Id

gbp_amountnumber

Gbp Amount

Example request

{
  "id": 12345,
  "account_id": 1,
  "payment_time": "2025-01-17T10:30:00Z",
  "desc": "example_desc",
  "amount": 99.99,
  "payment_id": 1,
  "charge_id": 1,
  "xero_invoice_id": 1,
  "gbp_amount": 99.99
}

Response

Successful response

{"stackTrail":"paths:/api/cp/setup/payment/paypal:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

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