POST api/pagarme/TopupIntl?phone={phone}&type={type}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
phone | string |
Required |
|
type | string |
Required |
Body Parameters
CheckoutStripeName | Description | Type | Additional information |
---|---|---|---|
Amount | integer |
None. |
|
DaysLimit | integer |
None. |
|
AffiliateId | integer |
None. |
|
Nome | string |
None. |
|
string |
None. |
||
DocumentNumber | string |
None. |
|
Street | string |
None. |
|
StreetNumber | string |
None. |
|
Neighborhood | string |
None. |
|
Zipcode | string |
None. |
|
Ddd | string |
None. |
|
Number | string |
None. |
|
StripeSessionId | string |
None. |
|
GoogleUserId | string |
None. |
|
SourceId | integer |
None. |
|
PaymentintentId | string |
None. |
|
IdCustomerFoneclube | integer |
None. |
|
SelectedPlans | Collection of StripePlanoStore |
None. |
|
Frete | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Amount": 1, "DaysLimit": 2, "AffiliateId": 3, "Nome": "sample string 4", "Email": "sample string 5", "DocumentNumber": "sample string 6", "Street": "sample string 7", "StreetNumber": "sample string 8", "Neighborhood": "sample string 9", "Zipcode": "sample string 10", "Ddd": "sample string 11", "Number": "sample string 12", "StripeSessionId": "sample string 13", "GoogleUserId": "sample string 14", "SourceId": 15, "PaymentintentId": "sample string 16", "IdCustomerFoneclube": 1, "SelectedPlans": [ { "planId": "sample string 1", "provider": "sample string 2", "valor": 3, "ecomStoreId": 4, "validity": 5, "data": "sample string 6", "planName": "sample string 7", "orderId": "sample string 8", "transactionId": "sample string 9", "descricao": "sample string 10", "isEsim": true, "isPort": true, "txtPortNumber": "sample string 13", "count": 1, "ActivationCode": "sample string 14", "ActivationQrCode": "sample string 15", "ICCID": "sample string 16", "purchaseId": "sample string 17", "travelDate": "sample string 18" }, { "planId": "sample string 1", "provider": "sample string 2", "valor": 3, "ecomStoreId": 4, "validity": 5, "data": "sample string 6", "planName": "sample string 7", "orderId": "sample string 8", "transactionId": "sample string 9", "descricao": "sample string 10", "isEsim": true, "isPort": true, "txtPortNumber": "sample string 13", "count": 1, "ActivationCode": "sample string 14", "ActivationQrCode": "sample string 15", "ICCID": "sample string 16", "purchaseId": "sample string 17", "travelDate": "sample string 18" } ], "Frete": 1 }
text/html
Sample:
{"Amount":1,"DaysLimit":2,"AffiliateId":3,"Nome":"sample string 4","Email":"sample string 5","DocumentNumber":"sample string 6","Street":"sample string 7","StreetNumber":"sample string 8","Neighborhood":"sample string 9","Zipcode":"sample string 10","Ddd":"sample string 11","Number":"sample string 12","StripeSessionId":"sample string 13","GoogleUserId":"sample string 14","SourceId":15,"PaymentintentId":"sample string 16","IdCustomerFoneclube":1,"SelectedPlans":[{"planId":"sample string 1","provider":"sample string 2","valor":3,"ecomStoreId":4,"validity":5,"data":"sample string 6","planName":"sample string 7","orderId":"sample string 8","transactionId":"sample string 9","descricao":"sample string 10","isEsim":true,"isPort":true,"txtPortNumber":"sample string 13","count":1,"ActivationCode":"sample string 14","ActivationQrCode":"sample string 15","ICCID":"sample string 16","purchaseId":"sample string 17","travelDate":"sample string 18"},{"planId":"sample string 1","provider":"sample string 2","valor":3,"ecomStoreId":4,"validity":5,"data":"sample string 6","planName":"sample string 7","orderId":"sample string 8","transactionId":"sample string 9","descricao":"sample string 10","isEsim":true,"isPort":true,"txtPortNumber":"sample string 13","count":1,"ActivationCode":"sample string 14","ActivationQrCode":"sample string 15","ICCID":"sample string 16","purchaseId":"sample string 17","travelDate":"sample string 18"}],"Frete":1}
application/xml, text/xml
Sample:
<CheckoutStripe xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities.FoneClube"> <AffiliateId>3</AffiliateId> <Amount>1</Amount> <DaysLimit>2</DaysLimit> <Ddd>sample string 11</Ddd> <DocumentNumber>sample string 6</DocumentNumber> <Email>sample string 5</Email> <Frete>1</Frete> <GoogleUserId>sample string 14</GoogleUserId> <IdCustomerFoneclube>1</IdCustomerFoneclube> <Neighborhood>sample string 9</Neighborhood> <Nome>sample string 4</Nome> <Number>sample string 12</Number> <PaymentintentId>sample string 16</PaymentintentId> <SelectedPlans> <StripePlanoStore> <ActivationCode>sample string 14</ActivationCode> <ActivationQrCode>sample string 15</ActivationQrCode> <ICCID>sample string 16</ICCID> <count>1</count> <data>sample string 6</data> <descricao>sample string 10</descricao> <ecomStoreId>4</ecomStoreId> <isEsim>true</isEsim> <isPort>true</isPort> <orderId>sample string 8</orderId> <planId>sample string 1</planId> <planName>sample string 7</planName> <provider>sample string 2</provider> <purchaseId>sample string 17</purchaseId> <transactionId>sample string 9</transactionId> <travelDate>sample string 18</travelDate> <txtPortNumber>sample string 13</txtPortNumber> <validity>5</validity> <valor>3</valor> </StripePlanoStore> <StripePlanoStore> <ActivationCode>sample string 14</ActivationCode> <ActivationQrCode>sample string 15</ActivationQrCode> <ICCID>sample string 16</ICCID> <count>1</count> <data>sample string 6</data> <descricao>sample string 10</descricao> <ecomStoreId>4</ecomStoreId> <isEsim>true</isEsim> <isPort>true</isPort> <orderId>sample string 8</orderId> <planId>sample string 1</planId> <planName>sample string 7</planName> <provider>sample string 2</provider> <purchaseId>sample string 17</purchaseId> <transactionId>sample string 9</transactionId> <travelDate>sample string 18</travelDate> <txtPortNumber>sample string 13</txtPortNumber> <validity>5</validity> <valor>3</valor> </StripePlanoStore> </SelectedPlans> <SourceId>15</SourceId> <Street>sample string 7</Street> <StreetNumber>sample string 8</StreetNumber> <StripeSessionId>sample string 13</StripeSessionId> <Zipcode>sample string 10</Zipcode> </CheckoutStripe>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
GenericResponseName | Description | Type | Additional information |
---|---|---|---|
Data | Object |
None. |
|
Info | string |
None. |
|
Error | string |
None. |
|
Status | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": {}, "Info": "sample string 2", "Error": "sample string 3", "Status": true }
text/html
Sample:
{"Data":{},"Info":"sample string 2","Error":"sample string 3","Status":true}
application/xml, text/xml
Sample:
<GenericResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities"> <Data /> <Error>sample string 3</Error> <Info>sample string 2</Info> <Status>true</Status> </GenericResponse>