create_payment_link
Create a payment link in DZD for Algeria via Chargily Pay. Buyer pays with EDAHABIA (Algérie Poste), CIB interbank cards — via Chargily Pay. Returns a hosted checkout URL the buyer opens to pay — payment completes automatically, no confirm step. Bring your own credentials via HTTP header (x-chargily-secret-key; free test credentials from pay.chargily.com never move real money). Money always flows buyer→Chargily Pay→merchant; this service never touches funds.
Parameters4
| amount_dzd | integer | required | Amount in DZD (integer), e.g. 1000. Minimum 100. |
| description | string | required | What this payment is for (shown to the buyer, ≤200 chars) |
| customer_email | string | optional | Optional buyer email. |
| success_url | string | optional | Optional https URL to send the buyer to after payment. |
Raw schema
{
"type": "object",
"properties": {
"amount_dzd": {
"type": "integer",
"minimum": 100,
"maximum": 100000000,
"description": "Amount in DZD (integer), e.g. 1000. Minimum 100."
},
"description": {
"type": "string",
"description": "What this payment is for (shown to the buyer, ≤200 chars)"
},
"customer_email": {
"type": "string",
"description": "Optional buyer email."
},
"success_url": {
"type": "string",
"description": "Optional https URL to send the buyer to after payment."
}
},
"required": [
"amount_dzd",
"description"
]
}