Update payment

Path Params
string
required

The payment id to update.

Body Params
string
enum
required

The action to execute on a specific payment.

ACCEPT
This action can be used to accept PENDING or AUTHORIZED payments.

CANCEL
This action can be used to cancel PENDING or AUTHORIZED payments.

CANCEL_OR_REFUND
This action can be used to cancel PENDING or AUTHORIZED payments.
Or to refund a payment in status ACCEPTED.

We suggest to execute this action only if you don't know the actual status of the payment.
For example if you received a timeout or an HTTP 500.

Depending on the actual status of the payment, you will receive a different outcome and response.

Allowed:
integer

The payment amount that you want to capture in cents.

To represent the amount €12.40, you should multiply it by 100, resulting in 1240 cents.

This property is applicable only for payments in AUTHORIZED status.
These payments must be created using either the FUND_LOCK or PRE_AUTHORIZED_FUND_LOCK flow.

This amount must be equal or smaller than the amount set during the payment creation.

Headers
string
required

Always send this header as application/json.

string
required

The host declared in the signature.

string
required

The date declared in the signature.

string
required

The digest declared in the signature.

string
required

The request signature.

string

The device information (e.g., hostname).

string
enum

The device type.

Allowed:
string

The Operating System name (e.g., Windows).

string

The Operating System version (e.g., 10).

string

The software house name (e.g., Satispay).

string

The software name (e.g., My awesome app).

string

The software version (e.g., v2.0.0).

string

The tracking code used by Satispay commercial partners.

Use this code only if explicitly required by Satispay.

Responses

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