V1Pay inPreview

Prévisualiser les frais d'un pay-in

Calcule les frais et le workflow d'un pay-in sans créer de transaction. Mêmes gardes d'autorisation que `POST /v1/pay-in` ; aucun `otp`/`redirectUrls` n'est requis ici, `workflowType` indique s'ils le seront sur l'appel réel. Sur un canal à plusieurs PSP, un numéro jamais vu peut se voir assigner durablement un couple de providers dès cet appel (dispatch MSISDN sticky) — un pay-in réel sur ce numéro produirait de toute façon la même affectation.

GET/v1/pay-in/preview
AuthorizationBearer <token>

Clé d'API de l'organisation, envoyée en Authorization: Bearer sk_live_…. Il n'existe aucun header X-API-Key.

In: header

Query Parameters

phoneNumber*string
Length1 <= length
currencyCode*string
Length1 <= length
amount*number
Range0 < value
operatorCode?string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/pay-in/preview?phoneNumber=string&currencyCode=string&amount=1"
{  "success": true,  "data": {    "feeProvider": 0,    "feeAz54": 0,    "feeTotal": 0,    "amountCredited": 0,    "workflowType": "provider_auth"  }}