Waylet Pay
  1. 馃嚞馃嚙 OpenWaylet
Waylet Pay
  • 馃嚜馃嚫 OpenWaylet
    • Inicio de cobro
      POST
    • Cancelaci贸n de cobro
      POST
    • Devoluci贸n de cobro
      POST
    • Devoluci贸n de cobro V2
      POST
    • Solicitud de url de inicio de pago
      POST
    • Inicio de cobro con QR
      POST
  • 馃嚞馃嚙 OpenWaylet
    • Start payment
      POST
    • Payment start URL
      POST
    • Start QR payment
      POST
    • Payment refund
      POST
    • Payment refund V2
      POST
    • Cancel payment
      POST
  1. 馃嚞馃嚙 OpenWaylet

Payment refund

Develop Env
https://pre.wayletlabs.com/api
Develop Env
https://pre.wayletlabs.com/api
POST
https://pre.wayletlabs.com/api
/integrations/openwaylet/v1/payments/refund
This endpoint refunds an already successful payment operation.
Successful responses will have 204 HTTP status.

Signature#

API requests needs a signature:
HMAC_SHA512(amount + commerceId + paymentId)
using a secret that will be provided by Klikin for test environments.

Request

Authorization
Add parameter in header
x-openwaylet-apikey
Example:
x-openwaylet-apikey: ********************
Body Params application/json
amount
string聽
required
Refunded amount.
commerceId
string聽
required
Waylet commerce identifier. Will be provided by Klikin.
paymentId
string聽
required
Payment identifier.
items
array聽[object {5}]聽
optional
units
integer聽
required
Item count.
description
string聽
required
Item description.
unitPrice
number聽
required
Item unit price.
totalPrice
number聽
required
Item total price.
generateCashback
boolean聽
required
Indicates whether cashback is generated or not, by default, true.
signature
string聽
required
Request signature.
Example
{
  "amount": "300",
  "commerceId": "ae125b641cf97ebbd2bdc6fb",
  "paymentId": "202305248569",
  "items": [
    {
      "units": 2,
      "description": "Incredible Concrete Bacon",
      "unitPrice": 100,
      "totalPrice": 200,
      "generateCashback": true
    }
  ],
  "signature": "85a1e4ededaf592a50f1bc67"
}

Responses

馃煝204No Content
application/json
Body
null聽
optional
Example
null
Modified at聽2024-05-30 05:58:56
Previous
Start QR payment
Next
Payment refund V2