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)MYour transaction reference.
amountFloatMInvoice amount within your account limits (default 1–2000).
currencyString(3)MCurrency supported by the processors assigned to your account (usually USD).
cancelUrlString(1,300)MRedirect URL on cancellation.
callbackUrlString(1,300)MRedirect URL after payment success. Outside sandbox it must resolve to a public address.
notificationUrlString(1,300)MWebhook endpoint. Outside sandbox it must resolve to a public address.
errorUrlString(1,300)MRedirect URL on payment error.
orderDescriptionString(max:3000)OShort order description. HTML tags are removed.
metadataString (JSON)OJSON string of key-value pairs, returned in IPN and query responses.
paymentMethodStringOAlways set to 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.
expiresAtStringOSession expiry, format 2026-04-22T10:00:00.000000Z. Default is 24 hours.
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.