Allocate an EFT payment to a policy

Path Params
string
required

Must be a UUID. The unique identifier of the policy.

Body Params
integer
required

The amount in cents.

string
required

A description for this payment

date-time
required

The date on which the collection request should strike the policyholder's bank account

string
required

Must be a UUID. The payment method associated with this policy

proof_of_payment
object
required

The proof of payment for the EFT being allocated

Responses

409

An identical EFT allocation was created on this policy in the last 10 seconds: the same amount, payment_date, payment_method_id and description. premium_type is not compared. No payment is created. The error message names the existing payment. To allocate two identical amounts on purpose, use a different description. A 409 on a retry after a failed request means the first payment was created; the proof of payment sent with the retry is not stored.

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json