From 5a3c7e802984e952a638a7fbd2c3754f6a779e9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9?= Date: Mon, 2 Sep 2024 17:33:26 -0300 Subject: [PATCH] Update pkg/payment/response.go --- pkg/payment/response.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/payment/response.go b/pkg/payment/response.go index 960d247..ff2c558 100644 --- a/pkg/payment/response.go +++ b/pkg/payment/response.go @@ -297,9 +297,10 @@ type PaymentMethodResponse struct { // DataResponse represents data within PaymentMethodResponse. type DataResponse struct { Rules RulesResponse `json:"rules"` + ReferenceID string `json:"reference_id"` ExternalReferenceID string `json:"external_reference_id"` - ExternalResourceUrl string `json:"external_resource_url"` + ExternalResourceURL string `json:"external_resource_url"` } // RulesResponse represents payment rules.