Skip to content

Payment Refund Service API (3.0.2)

API allows merchant/integrator to create/get/search payment refunds.

History

3.0.2 (2025-07-28)

  • Removed PROCESSING status from the refund status.
  • Removed DEBTOR_IBAN_NOT_AVAILABLE error code from the refund creation endpoint.
Languages
Servers
Mock server

https://docs.payconiq.be/_mock/apis/refund-public.openapi/

PREPROD merchant API

https://merchant.api.preprod.bancontact.net/

PROD merchant API

https://merchant.api.bancontact.net/

Request

Endpoint to initiate refund of Bancontact Payconiq Company payment to the debtor. This endpoint is idempotent based on 'Idempotency-Key' header. So the same request can be safely retried in case of timeout/network issue.

Security
JWS-Request-Signature-Refund
Path
payment-idstring= 24 charactersrequired

Payment Id

Headers
Idempotency-Keystring<= 64 charactersrequired

Unique request identifier with a maximum of 64 characters (we recommend UUID). It will be used for idempotency check.

Bodyapplication/json
amountinteger(int64)(Amount)( 1 .. 999999999999 ]required

Amount in cents

currencystring(Currency)required

currency code. Only EUR is supported ISO 4217

Value"EUR"
descriptionstring

refund description

curl -i -X POST \
  'https://docs.payconiq.be/_mock/apis/refund-public.openapi/payments/{payment-id}/refunds' \
  -H 'Content-Type: application/json' \
  -H 'Idempotency-Key: string' \
  -H 'Signature: YOUR_API_KEY_HERE' \
  -d '{
    "amount": 1,
    "currency": "EUR",
    "description": "string"
  }'

Responses

Refund successfully created

Headers
SignatureBankstring

Detached JWS signature of response payload. Bancontact Payconiq Company hosts the Public Key in JWK format as JWKS at:

  • https://jwks.bancontact.net/

  • https://jwks.preprod.bancontact.net/ for PROD and PREPROD environments respectively. The Public Key should be downloaded from these URLs and identified by the 'kid' claim in the JOSE header. Bancontact Payconiq Company will use the same algorithm to sign the response as the one used for the request signature. The signature must be computed as per following instructions:

    jws = base64URLEncode(JOSE Header)..alg(base64URLEncode(JOSE Header).base64URLEncode(Request Body))

    JOSE Header =

    { "typ": "jose+json", "kid": "JWK kid", "alg": "ES256(ECDSA using P-256 and SHA-256. Minimum keysize 256 bit) or RS256(RSASSA-PKCS1-v1_5usingSHA-256 Minimum key length 2048 bit)", "https://payconiq.com/sub" : "{bankUserId}", "https://payconiq.com/iss" : "Payconiq", "https://payconiq.com/iat" : "{Current creation date time in ISODateTime format, expressed in UTC time format(YYYY-MM-DDThh:mm:ss.sssZ)}, "https://payconiq.com/jti" : "{X-Request-ID}", "https://payconiq.com/path": "request path eg. /bag/v1/payments/{payment-id}/authorization/{authorization-id}/confirm" "crit": ["https://payconiq.com/sub", "https://payconiq.com/iss", "https://payconiq.com/iat", "https://payconiq.com/jti", "https://payconiq.com/path"] }

JWS Payload MUST be the same as response body as base64url encoded JSON data.

Bodyapplication/json
refundIdstring(RefundId)= 24 charactersrequired

refund identifier

paymentIdstring(PaymentId)= 24 charactersrequired

payment identifier

statusstringrequired

Refund status after creation. Always has value 'PENDING', because refund processing is asynchronous. Current status can be checked using GET '/v3/payments/{payment-id}/refunds/{refund-id}' endpoint.

Value"PENDING"
amountinteger(int64)(Amount)( 1 .. 999999999999 ]required

Amount in cents

currencystring(Currency)required

currency code. Only EUR is supported ISO 4217

Value"EUR"
descriptionstring(RefundDescription)

refund description

creationDatestring(date-time)(RefundCreationDate)required

timestamp, when refund was created

Response
application/json
{ "refundId": "stringstringstringstring", "paymentId": "stringstringstringstring", "status": "PENDING", "amount": 1, "currency": "EUR", "description": "string", "creationDate": "2019-08-24T14:15:22Z" }

Request

Endpoint to get refund details by id.

Security
JWS-Request-Signature-Refund
Path
payment-idstring= 24 charactersrequired

Payment Id

refund-idstring= 24 charactersrequired

Refund Id

curl -i -X GET \
  'https://docs.payconiq.be/_mock/apis/refund-public.openapi/payments/{payment-id}/refunds/{refund-id}' \
  -H 'Signature: YOUR_API_KEY_HERE'

Responses

return refund details

Headers
SignatureBankstring

Detached JWS signature of response payload. Bancontact Payconiq Company hosts the Public Key in JWK format as JWKS at:

  • https://jwks.bancontact.net/

  • https://jwks.preprod.bancontact.net/ for PROD and PREPROD environments respectively. The Public Key should be downloaded from these URLs and identified by the 'kid' claim in the JOSE header. Bancontact Payconiq Company will use the same algorithm to sign the response as the one used for the request signature. The signature must be computed as per following instructions:

    jws = base64URLEncode(JOSE Header)..alg(base64URLEncode(JOSE Header).base64URLEncode(Request Body))

    JOSE Header =

    { "typ": "jose+json", "kid": "JWK kid", "alg": "ES256(ECDSA using P-256 and SHA-256. Minimum keysize 256 bit) or RS256(RSASSA-PKCS1-v1_5usingSHA-256 Minimum key length 2048 bit)", "https://payconiq.com/sub" : "{bankUserId}", "https://payconiq.com/iss" : "Payconiq", "https://payconiq.com/iat" : "{Current creation date time in ISODateTime format, expressed in UTC time format(YYYY-MM-DDThh:mm:ss.sssZ)}, "https://payconiq.com/jti" : "{X-Request-ID}", "https://payconiq.com/path": "request path eg. /bag/v1/payments/{payment-id}/authorization/{authorization-id}/confirm" "crit": ["https://payconiq.com/sub", "https://payconiq.com/iss", "https://payconiq.com/iat", "https://payconiq.com/jti", "https://payconiq.com/path"] }

JWS Payload MUST be the same as response body as base64url encoded JSON data.

Bodyapplication/json
refundIdstring(RefundId)= 24 charactersrequired

refund identifier

paymentIdstring(PaymentId)= 24 charactersrequired

payment identifier

amountinteger(int64)(Amount)( 1 .. 999999999999 ]required

Amount in cents

currencystring(Currency)required

currency code. Only EUR is supported ISO 4217

Value"EUR"
statusstring(RefundStatus)required
  • PENDING - refund request accepted by Bancontact Payconiq Company, will be processed soon
  • REFUNDED - refund request successfully processed and money moved from merchant to debtor
  • FAILED - refund request processing failed for technical reasons, money movement didn't happen
Enum"PENDING""REFUNDED""FAILED"
descriptionstring(RefundDescription)

refund description

creationDatestring(date-time)(RefundCreationDate)required

timestamp, when refund was created

Response
application/json
{ "refundId": "stringstringstringstring", "paymentId": "stringstringstringstring", "amount": 1, "currency": "EUR", "status": "PENDING", "description": "string", "creationDate": "2019-08-24T14:15:22Z" }