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 payments.

CANCEL
This action can be used to cancel PENDING payments.

CANCEL_OR_REFUND
This action can be used to cancel PENDING 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:
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
Request
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json