callback_url — one in application/json, one in application/x-www-form-urlencoded. Both contain the same data. This page details the JSON structure.
Full example
Main fields
Transaction status:
"completed", "pending", or "notcompleted". Base your business logic on this field.Unique request identifier generated by LigdiCash. Use it for deduplication when
custom_data is empty or unavailable.Concatenation of the values of all
custom_data fields whose key contains "id". Can be reliable if you only have one field with "id" in the name — but parse custom_data directly for a guaranteed result.Always empty (
""). This field cannot be used for verification — use the token stored at transaction creation.URL to the documentation of error codes for this endpoint. Consult when
response_code !== "00".The custom_data array
Array of custom data associated with the transaction. Contains your merchant fields plus the fields automatically added by LigdiCash.
custom_data:
Always filter on
keyof_customdata to extract your own fields. See Parse custom_data.
