Skip to main content
POST
Approve a payment attempt

Authorizations

X-API-KEY
string
header
required

Headers

X-API-VERSION
string
required

Specifies the version of the API to use. This must be set to 2.4.

Example:

"2.4"

Path Parameters

id
string<uuid>
required

ID of the payment attempt to approve.

Response

Successful Response

paymentAttemptId
string<uuid>
required

ID of the approved payment attempt.

paymentId
string
required

ID of the payment created on Primer's side as a result of the approval. Use this to look up the payment via the Payments API.