Skip to main content

Card iFrame API

Ask AI

Endpoint contract

Create a card iframe session. GLODIPAY returns a signed URL for the hosted card form, and the merchant embeds that URL in an <iframe>.

POST /v2/card/iframeapplication/jsonSignature required

Request parameters

FieldTypeRequiredDescription
merchantIdString(1,50)MMerchant ID.
orderRefString(1,250)MUnique transaction reference.
amountFloatMInvoice amount.
currencyString(3)MISO 4217 currency code.
cancelUrlString(1,300)MHTTPS redirect URL on cancellation.
callbackUrlString(1,300)MHTTPS redirect URL after payment success.
notificationUrlString(1,300)MHTTPS webhook endpoint.
errorUrlString(1,300)MHTTPS redirect URL on payment error.
orderDescriptionString(max:3000)MShort order description.
metadataJSONOAttached key-value data.
transactionDocumentsJSONOSupporting documents.
paymentMethodStringMMust be card.
feeBySellerNumber(0-100)OSeller fee percentage.
billingEmailString(max:255)OBuyer email.
billingCountryStringOISO 3166-1 alpha-2 country code.
billingFirstNameString(max:255)OBilling first name.
billingLastNameString(max:255)OBilling last name.
billingStreet1String(max:255)OBilling address line 1.
billingStreet2String(max:255)OBilling address line 2.
billingCityString(max:255)OBilling city.
billingStateString(2,255)OBilling state.
billingPostalCodeString(max:25)OPostal / ZIP code.
billingPhoneCountryCodeString(max:10)OPhone country code.
billingPhoneNumberString(max:20)OPhone number.
customerIpStringOCustomer IP address.
websiteUrlString(max:300)OMerchant website URL.
brandNameString(1,255)OOverride the brand name on the card form.
colorModeString(1,255)OUp to 3 colors separated by ---.
logoSourceString(1,255)OOverride the logo on the card form.
expiresAtStringOISO 8601 session expiry.
signatureString(max:750)MRSA-MD5 signature.

Response and embed flow

On success, the response contains status, transactionId, url, and message. Embed the returned URL into your page:

<iframe
src="{url}"
width="100%"
height="600"
frameborder="0"
scrolling="no"
allowtransparency="true">
</iframe>

The signed URL is temporary and tied to the checkout session. GLODIPAY sends the final result through notificationUrl and then redirects the buyer to callbackUrl or errorUrl.

Source

This page is derived from iFrame Card API.

Bookmarks

No bookmarks yet.
Hover over a heading and click to save a section.