Resolve a charge

Resolve a charge that has been previously marked as unresolved. Supply the unique charge code that was returned when the charge was created.

Note: Only unresolved charges can be successfully resolved. For more on unresolved charges, check out at Charge timeline

Resolve an unresolved charge

POST /charges/{chargeCode}/resolve/

Path Parameters

Name
Type
Description

chargeCode*

string

Charge code

{
    "statusCode": 201,
    "time": "2022-03-12T18:12:59.255Z",
    "total": 0
}

Example request

curl --location --request POST 'https://pay-api.fizen.io/api/integration/v1/charges/code/OST1FNY35QDL/resolve' \
--header 'X-FP-API-KEY: 7abd3993-daf7-4322-84c6-c86e04b3d884'

Example response

{
    "statusCode": 201,
    "time": "2022-03-12T18:17:58.957Z",
    "total": 0
}

Last updated