Skip to main content

Implementation

Overview

Geopagos provides a transactional API designed to enable your application to accept payments using your own physical device.

Sequence diagram

This flow represents a generic way to perform an authorization.

info

the application backend can be provided by the implementor or Geopagos.

Sale

OperationMethodEndpoint
InitializePOST/api/v4/payments/presentDocumentation
Request authorizationPOST/api/v1/salesDocumentation
Confirm authorizationPOST/api/v1/sales/confirmDocumentation
ConfirmPOST/api/v4/payments/{reference_number}/confirmDocumentation

Refund

OperationMethodEndpoint
InitializePOST/api/v4/refunds/presentDocumentation
Request authorizationPOST/api/v1/refundsDocumentation
Confirm authorizationPOST/api/v1/refunds/confirmDocumentation
ConfirmPOST/api/v4/refunds/{reference_number}/confirmDocumentation

Annulment

OperationMethodEndpoint
Request authorizationPOST/api/v1/annulmentsDocumentation
Confirm authorizationPOST/api/v1/annulments/confirmDocumentation
ConfirmPOST/api/v4/refunds/{reference_number}/confirmDocumentation
info

If the application backend doesn't send the final confirmation (last step), the transaction will be reversed.

More information

See the API Reference for detail information about the integration.